index
int64
repo_name
string
branch_name
string
path
string
content
string
import_graph
string
89,570
TheWildMonk/turtle-crossing-capstone-project
refs/heads/main
/cars.py
from turtle import Turtle import random COLORS = ["#192a56", "#44bd32", "#0097e6", "#341f97", "#10ac84", "#1B1464", "#006266", "#6F1E51", "#2c2c54"] CAR_SPEED = 5 class Car: def __init__(self): self.cars = [] self.car_speed = CAR_SPEED def generate_car(self): random_interval = random...
{"/main.py": ["/cars.py", "/scoreboard.py"]}
89,571
TheWildMonk/turtle-crossing-capstone-project
refs/heads/main
/scoreboard.py
from turtle import Turtle FONT = ("raleway", 16, "bold") LEVEL = 0 class Scoreboard(Turtle): def __init__(self): super().__init__() self.level = LEVEL self.color("#009432") self.penup() self.hideturtle() self.goto(-260, 260) self.write(f"LEVEL: {self.level}...
{"/main.py": ["/cars.py", "/scoreboard.py"]}
89,572
TheWildMonk/turtle-crossing-capstone-project
refs/heads/main
/main.py
from turtle import Screen from player import Player from cars import Car from scoreboard import Scoreboard import time # Screen object definition screen = Screen() screen.bgcolor("#f1c40f") screen.title("Turtle Crossing Game") screen.setup(width=600, height=600) screen.tracer(0) # Player object definition player = Pl...
{"/main.py": ["/cars.py", "/scoreboard.py"]}
89,574
piotrenewicz/Dawpol_Website
refs/heads/master
/car_hire/admin.py
from django.contrib import admin from .models import Car from main.admin import ImageElementInline # Register your models here. # admin.site.register(Cars) class CarAdmin(admin.ModelAdmin): fieldsets = [ ("Dane samochodu", {'fields': ['title', 'description']}), ] inlines = [ImageElementInline] ...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,575
piotrenewicz/Dawpol_Website
refs/heads/master
/main/custom_context_processors.py
from main.models import Page#, ImageContent def base_context(request): page_list = Page.objects.all().order_by("order") active_app = request.resolver_match.app_names return { 'pages': page_list, 'active_app': active_app[-1], }
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,576
piotrenewicz/Dawpol_Website
refs/heads/master
/main/urls.py
from django.urls import path from . import views app_name = "main" urlpatterns = [ path('', views.index, name='index'), path('e', views.e404, name='not_found'), path('AutoParts/', views.parts_gallery, name='parts'), path('TopSecretList/<str:item_manager_name>', views.items_view, name='secret'), ]
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,577
piotrenewicz/Dawpol_Website
refs/heads/master
/main/migrations/0001_initial.py
# Generated by Django 2.2.2 on 2019-06-24 22:29 from django.db import migrations, models import django.db.models.deletion import main.models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ImageListing', ...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,578
piotrenewicz/Dawpol_Website
refs/heads/master
/main/admin.py
from django.contrib import admin from .models import ImageListing, ImageElement, Page#, TextContent, ImageContent # Register your models here. # admin.site.register(TextContent) # # admin.site.register(GraphicalItem) # admin.site.register(ImageContent) class ImageElementInline(admin.TabularInline): model = Im...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,579
piotrenewicz/Dawpol_Website
refs/heads/master
/car_parts/admin.py
from django.contrib import admin from .models import Part from main.admin import ImageElementInline # Register your models here. # admin.site.register(Cars) class PartAdmin(admin.ModelAdmin): fieldsets = [ ("Nazwa_Części: ", {'fields': ['title', 'description']}), ] inlines = [ImageElementInline]...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,580
piotrenewicz/Dawpol_Website
refs/heads/master
/car_parts/urls.py
from django.urls import path from . import views app_name = "car_parts" urlpatterns = [ path('', views.part, name='czesci'), # path('details/<int:car_id>', views.detailedview, name='detailed'), ]
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,581
piotrenewicz/Dawpol_Website
refs/heads/master
/main/migrations/0002_auto_20190624_2259.py
# Generated by Django 2.2.2 on 2019-06-24 22:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.AlterField( model_name='imageelement', name='subtitle', ...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,582
piotrenewicz/Dawpol_Website
refs/heads/master
/car_hire/views.py
from django.shortcuts import render from car_hire.models import Car from main.views import get_items # Create your views here. def overview(request): all_cars = Car.objects.all() for car in all_cars: car.short_description = car.description.split("\n")[0] context = { 'cars': all_cars, ...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,583
piotrenewicz/Dawpol_Website
refs/heads/master
/main/models.py
from django.db import models # from django.utils import timezone import os from django.urls import reverse # Create your models here. # # class TextContent(models.Model): # id = models.CharField(primary_key=True, max_length=24) # text = models.CharField(max_length=1000) # # def __str__(self): # if...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,584
piotrenewicz/Dawpol_Website
refs/heads/master
/car_hire/migrations/0002_auto_20190625_0125.py
# Generated by Django 2.2.2 on 2019-06-25 01:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0002_auto_20190624_2259'), ('car_hire', '0001_initial'), ] operations = [ migrations.RenameModel( old_name='Cars', ...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,585
piotrenewicz/Dawpol_Website
refs/heads/master
/contact/views.py
from django.shortcuts import render # Create your views here. def info(request): return render(request, 'contact/info.html') def map(request): return render(request, 'contact/map.html') def full_map(request): return render(request, "contact/fullmap.html")
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,586
piotrenewicz/Dawpol_Website
refs/heads/master
/car_hire/urls.py
from django.urls import path from . import views app_name = "car_hire" urlpatterns = [ path('', views.overview, name='overview'), path('details/<int:car_id>', views.detailedview, name='detailed'), ]
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,587
piotrenewicz/Dawpol_Website
refs/heads/master
/car_parts/models.py
from django.db import models from main.models import ImageListing#, ImageContent # Create your models here. class Part(ImageListing): title = models.CharField(max_length=100) description = models.TextField(max_length=500) def save(self, *args, **kwargs): # this is extremely brittle, self.name ...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,588
piotrenewicz/Dawpol_Website
refs/heads/master
/main/views.py
from django.shortcuts import render # from django.templates import loader from .models import ImageListing, ImageElement, Page # , ImageContent, TextContent # Create your views here def e404(request): return render(request, "errors/404.html") def index(request): return render(request, 'main/base.html') ...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,589
piotrenewicz/Dawpol_Website
refs/heads/master
/contact/urls.py
from django.urls import path from . import views app_name = "contact" urlpatterns = [ path('', views.info, name='info'), path('map', views.map, name='map'), path('map/fullscreen', views.full_map, name='fullmap'), ]
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,590
piotrenewicz/Dawpol_Website
refs/heads/master
/car_hire/migrations/0003_auto_20190728_1631.py
# Generated by Django 2.2.2 on 2019-07-28 16:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('car_hire', '0002_auto_20190625_0125'), ] operations = [ migrations.AlterField( model_name='car', name='description',...
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,591
piotrenewicz/Dawpol_Website
refs/heads/master
/services/urls.py
from django.urls import path from . import views app_name = "services" urlpatterns = [ path('', views.service, name='uslugi'), # path('details/<int:car_id>', views.detailedview, name='detailed'), ]
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,592
piotrenewicz/Dawpol_Website
refs/heads/master
/services/views.py
from django.shortcuts import render # Create your views here. def service(request): return render(request, 'services/our_services.html')
{"/car_hire/admin.py": ["/main/admin.py"], "/main/custom_context_processors.py": ["/main/models.py"], "/main/migrations/0001_initial.py": ["/main/models.py"], "/main/admin.py": ["/main/models.py"], "/car_parts/admin.py": ["/car_parts/models.py", "/main/admin.py"], "/car_hire/views.py": ["/main/views.py"], "/car_parts/m...
89,609
HuafengLau/EasyCollege
refs/heads/master
/News/views.py
#coding:utf-8 from django.contrib.auth import * from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render_to_response from django.template import RequestContext from django.views.decorators.csrf import csrf_exempt from django...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,610
HuafengLau/EasyCollege
refs/heads/master
/Business/models.py
#coding:utf-8 from django.db import models from account.models import MyUser from University.models import University_info class AuthorLog(models.Model): user = models.ForeignKey(MyUser, null=True,verbose_name=u'用户') openid = models.CharField(max_length=100,null=True,verbose_name=u'授权id') type = models.C...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,611
HuafengLau/EasyCollege
refs/heads/master
/account/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('account.views', url(r'^QQlogin/$', 'QQ_login', name='account_QQ_login'), url(r'^(?P<openid>.+)/$', 'testQQlog', name='account_QQ_testQQlog'), )
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,612
HuafengLau/EasyCollege
refs/heads/master
/Business/admin.py
#coding:utf-8 from django.contrib import admin #from Business.models import Credit, Major_course from Business.models import AuthorLog class AuthorLogAdmin(admin.ModelAdmin): """docstring for AuthorLogAdmin""" list_display = ('user', 'type', 'openid') list_filter = ('type',) ordering = ('type','user' ...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,613
HuafengLau/EasyCollege
refs/heads/master
/Center/views.py
#coding:utf-8 from django.contrib.auth import * from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render_to_response from django.template import RequestContext from django.views.decorators.csrf import csrf_exempt from djang...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,614
HuafengLau/EasyCollege
refs/heads/master
/Business/templatetags/my_tags.py
#coding:utf-8 from django import template from University.models import University_info from EOT.models import Eot, Eot_data, Eot_data from Business.models import Credit from Business.views import code_school from datetime import datetime import re import pytz from News.models import NewsPart,News from account.models ...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,615
HuafengLau/EasyCollege
refs/heads/master
/Index/models.py
#coding:utf-8 from django.db import models from account.models import MyUser from News.models import News,NewsComment1,NewsComment2,NewsComment3,NewsComment4 # Create your models here. class Avatar(models.Model): photo = models.ImageField(upload_to='avatar/',blank=True,null=True) user = models.ForeignKey(MyUs...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,616
HuafengLau/EasyCollege
refs/heads/master
/EasyCollege/urls.py
#coding:utf-8 from django.conf.urls import patterns, include, url from django.contrib import admin from News.views import upload,upload_delete from account.views import fangqiu from log.views import verify from Business.views import googelSearch, baiduSearch,baiduSearch2,googelSearch2 from django.conf import settings f...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,617
HuafengLau/EasyCollege
refs/heads/master
/log/views.py
#coding:utf-8 import urllib import urllib2 import chardet import bs4 import cookielib from django.conf import settings from bs4 import BeautifulSoup from django import forms from django.contrib.auth import authenticate, login, logout from account.models import MyUser from django.http import HttpResponseRedirect,HttpR...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,618
HuafengLau/EasyCollege
refs/heads/master
/account/views.py
#coding:utf-8 import urllib import urllib2 from django.shortcuts import render_to_response from django.template import RequestContext from account.models import MyUser from News.views import which_news from django.http import HttpResponseRedirect, HttpResponse from Business.models import AuthorLog from django.contrib....
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,619
HuafengLau/EasyCollege
refs/heads/master
/Center/admin.py
#coding:utf-8 from django.contrib import admin from Center.models import User_info,Honour class User_infoAdmin(admin.ModelAdmin): """docstring for User_infoAdmin""" list_display = ('user','grade','subscription') list_filter = ('user',) ording = ('user',) class HonourAdmin(admin.ModelAdmin):...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,620
HuafengLau/EasyCollege
refs/heads/master
/EOT/models.py
#coding:utf-8 from django.db import models from account.models import MyUser class Eot_naming(models.Model): never_num = models.IntegerField(default=0,null=True,blank=True,verbose_name=u'很少点名') sometimes_num = models.IntegerField(default=0,null=True,blank=True,verbose_name=u'有时点名') often_num = models.Inte...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,621
HuafengLau/EasyCollege
refs/heads/master
/Affair/models.py
#coding:utf-8 from django.db import models from account.models import MyUser from EOT.models import Eot, Eot_data class Report_eotData(models.Model): eot = models.ForeignKey(Eot, null=True,blank=True,on_delete=models.SET_NULL,verbose_name=u'课程') eot_data = models.ForeignKey(Eot_data, null=True,blank=True,on_d...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,622
HuafengLau/EasyCollege
refs/heads/master
/Affair/views.py
#coding:utf-8 from django.contrib.auth import * from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render_to_response from django.template import RequestContext, Context, loader from django.views.decorators.csrf import csrf_...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,623
HuafengLau/EasyCollege
refs/heads/master
/Affair/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('Affair.views', url(r'^$', 'affair', name='affair'), url(r'^report/eotData/$', 'report_eotData', name='affair_report_eotData'), url(r'^report/eotImg/(?P<Report_eotImg_id>\d+)/$', 'report_eotImg', name='affair_report_eotImg'), url(r'^handle/...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,624
HuafengLau/EasyCollege
refs/heads/master
/EOT/admin.py
#coding:utf-8 from django.contrib import admin ''' from EOT.models import * class TeacherAdmin(admin.ModelAdmin): """docstring for TeacherAdmin""" list_display = ('university','name','value_num','avg_score') list_filter = ('university','name') ordering = ('university','name') class EotAdmin(...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,625
HuafengLau/EasyCollege
refs/heads/master
/News/search_indexes.py
#coding:utf-8 import datetime from haystack import indexes from News.models import News, NewsPart class NewsIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True, use_template=True,template_name='News/news_text.txt') user = indexes.CharField(model_attr='user') time = indexe...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,626
HuafengLau/EasyCollege
refs/heads/master
/EOT/form.py
#coding: utf-8 from django import forms from EOT.models import Eot_data, Eot_img class Eot_dataForm(forms.ModelForm): title = forms.CharField( required=True, label=u'资料主题', max_length=15, help_text=u'主题中请包涵平时作业、期末、期中、课件、试题等关键字,15字以内 ', error_messages={ 'required...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,627
HuafengLau/EasyCollege
refs/heads/master
/folder/views.py
#coding:utf-8 from django.contrib.auth import * from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render_to_response from django.template import RequestContext from django.views.decorators.csrf import csrf_exempt from Index...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,628
HuafengLau/EasyCollege
refs/heads/master
/Index/admin.py
#coding:utf-8 from django import forms from django.contrib import admin from django.contrib.auth.admin import UserAdmin from account.models import MyUser from Index.models import Avatar,Feeds_news,Feeds_comment,Feeds_followNews,Folder,Collect,WatchFolder class AvatarAdmin(admin.ModelAdmin): """docstring ...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,629
HuafengLau/EasyCollege
refs/heads/master
/Center/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('Center.views', url(r'^$', 'center', name='center'), #url(r'^delStore/(?P<eot_id>\d+)/$', 'delStore', name='Center_delStore'), #url(r'switchModal/$','switchModal',name='center_switchModal'), url(r'^uploadavatar/$', 'upload_avatar', name='up...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,630
HuafengLau/EasyCollege
refs/heads/master
/Index/views.py
#coding:utf-8 from django.contrib.auth import * from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render_to_response from django.template import RequestContext #from Business.models import Credit, Major_course #from Busines...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,631
HuafengLau/EasyCollege
refs/heads/master
/log/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('log.views', url(r'^$', 'log', name='log'), url(r'^activate/(?P<id>\d+)/', 'activateUser', name='activateUser'), url(r'^logout/$', 'quit', name='log_quit'), url(r'^page_register/$', 'page_register', name='page_register'), #url(r'^page_r...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,632
HuafengLau/EasyCollege
refs/heads/master
/University/models.py
#coding:utf-8 from django.db import models class University_info(models.Model): school = models.CharField(max_length=30,verbose_name=u'学校') college = models.CharField(max_length=30, verbose_name=u'学院') major = models.CharField(max_length=40, verbose_name=u'专业') def __unicode__(self): retu...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,633
HuafengLau/EasyCollege
refs/heads/master
/Affair/admin.py
#coding:utf-8 from django.contrib import admin ''' from Affair.models import * class Report_eotDataAdmin(admin.ModelAdmin): """docstring for Report_eotDataAdmin""" list_display = ('result','report_time', 'reporter','suspect') list_filter = ('result',) ording = ('result','report_time',) admin.site....
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,634
HuafengLau/EasyCollege
refs/heads/master
/Center/models.py
#coding:utf-8 from account.models import MyUser from django.db import models class User_info(models.Model): user = models.ForeignKey(MyUser, null=True,verbose_name=u'用户') #store_eot = models.CharField(max_length=250,null=True,blank=True,verbose_name=u'收藏的课程') #download_Eotdata = models.CharField(max_l...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,635
HuafengLau/EasyCollege
refs/heads/master
/rte/kindeditor/widgets.py
from django import forms from django.conf import settings from django.utils.safestring import mark_safe from django.template.loader import render_to_string from django.template import RequestContext from django.utils.translation import ugettext_lazy as _ class KindEditor(forms.Textarea): class Media: css ...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,636
HuafengLau/EasyCollege
refs/heads/master
/News/models.py
#coding:utf-8 from django.db import models from account.models import MyUser class NewsPart(models.Model): part = models.CharField(max_length=100,null=True,verbose_name=u'板块') realPart = models.CharField(max_length=100,null=True,verbose_name=u'中文板块') open = models.BooleanField(default=True,verbose_name=u'是...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,637
HuafengLau/EasyCollege
refs/heads/master
/Index/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('Index.views', url(r'^$', 'index', name='index'), #url(r'^wise_teacher/$', 'wise_teacher', name='wise_teacher'), #url(r'^delete/(?P<credit_id>\d+)/$', 'del_credit', name='del_credit'), url(r'^get_idCard/$', 'get_idCard', name='get_idCard'),...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,638
HuafengLau/EasyCollege
refs/heads/master
/account/models.py
#coding:utf-8 from django.db import models from django.contrib.auth.models import BaseUserManager, AbstractBaseUser from django.contrib.auth.models import PermissionsMixin from django.utils import timezone class MyUserManager(BaseUserManager): def create_user(self, stu_pwd, nic_name, email, money,agree_num,mess...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,639
HuafengLau/EasyCollege
refs/heads/master
/EOT/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('EOT.views', url(r'^$', 'list', name='eot_list'), url(r'^showcredit/(?P<credit_id>\d+)/$', 'showcredit', name='eot_showcredit'), url(r'^showeot/(?P<eot_id>\d+)/$', 'showeot', name='eot_showeot'), url(r'^value/test/$', 'test', name='test'), ...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,640
HuafengLau/EasyCollege
refs/heads/master
/News/admin.py
#coding:utf-8 from django.contrib import admin from News.models import News,NewsPart,NewsPartRule,NewsComment1,NewsComment2,NewsComment3,NewsComment4,PartAdmin,NewsPic class NewsAdmin(admin.ModelAdmin): """docstring for NewsAdmin""" list_display = ('user', 'time','type','title', 'newspart','ups','downs','rea...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,641
HuafengLau/EasyCollege
refs/heads/master
/folder/admin.py
#coding:utf-8 from django.contrib import admin from Index.models import Folder,Collect,WatchFolder class FolderAdmin(admin.ModelAdmin): """docstring for FolderAdmin""" list_display = ('owner', 'name') list_filter = ('owner', ) ordering = ('owner', ) class CollectAdmin(admin.ModelAdmin): """docst...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,642
HuafengLau/EasyCollege
refs/heads/master
/EOT/views.py
#coding:utf-8 from django.contrib.auth import * from django.contrib.auth.decorators import login_required from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import render_to_response from django.template import RequestContext from django.views.decorators.csrf import csrf_exempt, csrf_prot...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,643
HuafengLau/EasyCollege
refs/heads/master
/News/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('News.views', url(r'^$', 'news', name='news_all_all'), url(r'^read/$','readNews', name='news_readNews'), url(r'^uploadFile/(?P<this_type>\w{3,5})/(?P<this_id>\d+)/$', 'uploadFile', name='news_uploadFile'), url(r'^finishUpload/(?P<this_id>\d...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,644
HuafengLau/EasyCollege
refs/heads/master
/Index/form.py
#coding: utf-8 from django import forms from Index.models import Avatar,Folder class AvatarForm(forms.ModelForm): photo = forms.ImageField(label=u'更改头像',required=True) class Meta: model = Avatar exclude = ('user',) class FolderForm(forms.ModelForm): name = forms.CharField( ...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,645
HuafengLau/EasyCollege
refs/heads/master
/University/admin.py
#coding:utf-8 from django.contrib import admin ''' from University.models import University_info class University_infoAdmin(admin.ModelAdmin): """docstring for University_infoAdmin""" list_display = ('school', 'college', 'major','id') ordering = ('school','college', 'major') admin.site.register...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,646
HuafengLau/EasyCollege
refs/heads/master
/Business/views.py
#encoding:utf-8 import chardet import bs4 from bs4 import BeautifulSoup import codecs import urllib import urllib2 import cookielib from django.shortcuts import render_to_response from django.template import RequestContext from University.models import University_info import datetime, calendar #from datetime import ...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,647
HuafengLau/EasyCollege
refs/heads/master
/Business/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('Business.views', url(r'^about/$', 'about', name='business_about'), #url(r'^guide/getCreditFile/(?P<school_code>.+)/$', 'guide_getCreditFile', name='guide_getCreditFile'), #url(r'TheRich/$', 'TheRich', name='TheRich'), )
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,648
HuafengLau/EasyCollege
refs/heads/master
/folder/urls.py
from django.conf.urls.defaults import * urlpatterns = patterns('folder.views', url(r'^$', 'folder', name='folder'), url(r'^newBuild/$', 'newBuild', name='folder_newBuild'), url(r'^collect/$', 'collect', name='folder_collect'), url(r'^watch/$', 'watch', name='folder_watch'), )
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,649
HuafengLau/EasyCollege
refs/heads/master
/News/form.py
#coding: utf-8 from django import forms from News.models import News, NewsPart, NewsPartRule #from django.utils.translation import ugettext_lazy as _ from rte.kindeditor.widgets import KindEditor line = '-------请选择---------' class LinkNewsForm3(forms.ModelForm): def __init__(self, *args, **kwargs): se...
{"/News/views.py": ["/News/models.py", "/News/form.py", "/Center/models.py", "/account/models.py", "/Index/models.py"], "/Business/models.py": ["/account/models.py", "/University/models.py"], "/Business/admin.py": ["/Business/models.py"], "/Center/views.py": ["/Center/models.py", "/Index/form.py", "/Index/models.py"], ...
89,651
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/admin.py
from django.contrib import admin from . models import Genre,IdiomaTx,IdiomaAu,VG,VGInstance,Dev,Pub,Rating,Plat,Banner # Register your models here. admin.site.register(Genre) admin.site.register(IdiomaTx) admin.site.register(IdiomaAu) admin.site.register(VG) admin.site.register(VGInstance) admin.site.register(Dev) adm...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,652
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/views.py
from django.views.generic.edit import CreateView, UpdateView, DeleteView,FormView from django.shortcuts import render, redirect from django.urls import reverse_lazy from django.contrib.auth.decorators import login_required from django.contrib.auth import authenticate, login from .models import Cuenta from .forms import...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,653
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/models.py
from django.db import models from django.urls import reverse import uuid class Conn(models.Model): #campos conn_desc=models.CharField(max_length=100,help_text="Ingrese Descripcion de la conectividad") def __str__(self): return self.conn_desc class CS(models.Model): #campos cs_id=model...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,654
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/migrations/0002_auto_20191127_2101.py
# Generated by Django 2.2.6 on 2019-11-28 00:01 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('cliente', '0001_initial'...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,655
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/migrations/0007_banner.py
# Generated by Django 2.2.6 on 2019-12-05 07:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0006_auto_20191107_1708'), ] operations = [ migrations.CreateModel( name='Banner', fields=[ ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,656
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/views.py
from django.shortcuts import render from .models import VG from django.shortcuts import get_object_or_404, render, redirect from django.http import HttpResponseRedirect from django.urls import reverse from django.views import generic from django.utils import timezone from django.contrib import messages from .forms impo...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,657
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/admin.py
from django.contrib import admin from .models import Conn , CS , CSInstance, Plat # Register your models here. admin.site.register(Conn) admin.site.register(CS) admin.site.register(CSInstance) admin.site.register(Plat)
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,658
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/test/test_forms.py
from django.test import TestCase from django.test import Client from cliente.forms import * from cliente.models import Cuenta,Region class TestForm(TestCase): def setUp(self): Region.objects.create( reg_id='MT', reg_nombre='Metropolitana' ) def test_formValid(self): ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,659
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/urls.py
from django.urls import path from .views import * app_name = 'console' urlpatterns = [ path('',IndexView.as_view(), name='allconsole'), path('<str:pk>/', DetailView.as_view(), name='details'), ]
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,660
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/migrations/0003_auto_20191116_1932.py
# Generated by Django 2.2.6 on 2019-11-16 22:32 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): dependencies = [ ('console', '0002_delete_consolainstance'), ] operations = [ migrations.CreateModel( ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,661
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/migrations/0001_initial.py
# Generated by Django 2.2.6 on 2019-11-04 07:18 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Dev', fields=[...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,662
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/migrations/0009_auto_20191205_0427.py
# Generated by Django 2.2.6 on 2019-12-05 07:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0008_auto_20191205_0425'), ] operations = [ migrations.RemoveField( model_name='banner', name='ban_img1', ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,663
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/forms.py
from django import forms from .models import VG,Dev,Genre,IdiomaAu,IdiomaTx,Plat,Pub,Rating class VGCreateForm(forms.ModelForm): vg_id = forms.CharField(label="ID", required=True, widget=forms.TextInput( attrs={ "placeholder":"Ingrese la id del v...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,664
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/test/test_urls.py
from django.test import SimpleTestCase from django.urls import reverse, resolve from game.views import IndexView, SwitchGame, PS4Game, XBOGame, DetailView, VGCreate, VGSearch, VGUpdate, VGDelete class TetsUrls(SimpleTestCase): def setUp(self): self.VGCreate = reverse('game:createVG') def testCrea...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,665
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/tests.py
from django.test import TestCase from .models import Conn, CS, CSInstance, Plat # Create your tests here. class ConsoleTest(TestCase): def create_plat(self, plat_nom="TestStaytion Switch"): return Plat.objects.create(plat_nom) def test_plat_creation(self): p = self.create_plat() self.a...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,666
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/test/test_model.py
from django.test import TestCase from cliente.models import Cuenta,Region class TestModels(TestCase): def setUp(self): Region.objects.create( reg_id='MT', reg_nombre='Metropolitana' ) mt = Region.objects.get(reg_id='MT') Cuenta.objects.create( c...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,667
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/urls.py
from django.urls import path from .views import * app_name='cliente' urlpatterns = [ path('cuenta/create/',CuentaCreate, name='reg'), path('<str:pk>/', ProfileDetailView.as_view(), name = 'profile') #path('cuenta/create/',CuentaCreate.as_view(), name='reg') ]
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,668
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/migrations/0002_delete_consolainstance.py
# Generated by Django 2.2.6 on 2019-11-16 22:15 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('console', '0001_initial'), ] operations = [ migrations.DeleteModel( name='ConsolaInstance', ), ]
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,669
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/migrations/0005_auto_20191104_1401.py
# Generated by Django 2.2.6 on 2019-11-04 17:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0004_vg_vg_img4'), ] operations = [ migrations.AlterField( model_name='vg', name='vg_descr', fie...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,670
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/admin.py
from django.contrib import admin # Register your models here. from . models import Cuenta, Region admin.site.register(Cuenta) admin.site.register(Region)
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,671
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/migrations/0008_auto_20191205_0425.py
# Generated by Django 2.2.6 on 2019-12-05 07:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0007_banner'), ] operations = [ migrations.RemoveField( model_name='banner', name='ban_game1', ), ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,672
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/models.py
from django.db import models from django.urls import reverse from django.contrib.auth.models import User # importe el modelo user de admin import uuid # Create your models here. #Register class Cuenta(models.Model): user = models.OneToOneField(User, on_delete = models.CASCADE) #relacion 1 es a 1 cuent_rut=mod...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,673
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/fzone/urls.py
"""fzone URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,674
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/migrations/0006_auto_20191107_1708.py
# Generated by Django 2.2.6 on 2019-11-07 20:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0005_auto_20191104_1401'), ] operations = [ migrations.AlterField( model_name='vg', name='vg_local_plyr', ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,675
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/forms.py
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from .models import Cuenta,Region class FormUser(UserCreationForm): #formulario para User username = forms.CharField(label='Nombre de Usuario',required = True, widget=forms.Tex...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,676
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/migrations/0001_initial.py
# Generated by Django 2.2.6 on 2019-11-16 22:12 from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Conectividad', ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,677
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/urls.py
from django.urls import path from .views import * app_name='game' urlpatterns = [ path('',IndexView.as_view(), name='allgame'), path('nsw/', SwitchGame.as_view(), name='nswgame'), path('ps4/', PS4Game.as_view(), name='ps4game'), path('xbo/', XBOGame.as_view(), name='xbogame'), path('<str:pk>/', De...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,678
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/tests/test_views.py
from django.test import TestCase, Client from django.urls import reverse from cliente.models import Cuenta,Region import json class TestViews(TestCase): def setUp(self): self.client = Client() self.reg = reverse('cliente:reg') Region.objects.create( reg_id='MT', re...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,679
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/models.py
from django.db import models from django.urls import reverse import uuid #Videogames # Create your models here. class Genre(models.Model): #campos gen_desc=models.CharField(max_length=100,help_text="Ingrese Descripcion del genero") #metodos def __str__(self): return self.gen_desc class Idioma...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,680
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/cliente/migrations/0001_initial.py
# Generated by Django 2.2.6 on 2019-11-27 23:53 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Region', fields=[ ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,681
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/console/views.py
from django.shortcuts import render from .models import CS from django.shortcuts import get_object_or_404, render, redirect from django.http import HttpResponseRedirect from django.urls import reverse from django.views import generic from django.utils import timezone from django.contrib import messages #from django .fo...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,682
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/fzone/views.py
from django.shortcuts import render from django.views import generic from game.models import Banner class ini(generic.ListView): model = Banner template_name = 'inicio.html' def get_queryset(self): return Banner.objects.all def consolas(request):#Vista todas las consolas return render( ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,683
DennisseCannobbio/FreakZoneStore-DUOC-UC
refs/heads/master
/game/migrations/0004_vg_vg_img4.py
# Generated by Django 2.2.6 on 2019-11-04 09:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('game', '0003_auto_20191104_0653'), ] operations = [ migrations.AddField( model_name='vg', name='vg_img4', ...
{"/game/admin.py": ["/game/models.py"], "/cliente/views.py": ["/cliente/models.py", "/cliente/forms.py"], "/game/views.py": ["/game/models.py", "/game/forms.py"], "/console/admin.py": ["/console/models.py"], "/cliente/test/test_forms.py": ["/cliente/forms.py", "/cliente/models.py"], "/console/urls.py": ["/console/views...
89,687
egnartsms/sublime-autosplit
refs/heads/master
/impl/edit.py
"""AutosplitThunk is a dummy command that just calls whatever thunk is set to be called. This is needed when you need to edit a view but don't want to create a dedicated TextCommand for this. """ import sublime_plugin __all__ = ['AutosplitThunk'] callback = None callback_res = None callback_exc = None def call_w...
{"/impl/tests.py": ["/impl/edit.py", "/impl/sublime_util.py", "/impl/common.py"], "/command.py": ["/impl/edit.py", "/impl/listener.py", "/impl/shared.py", "/impl/tests.py"], "/impl/listener.py": ["/impl/edit.py", "/impl/shared.py", "/impl/sublime_util.py"], "/impl/parse.py": ["/impl/shared.py", "/impl/sublime_util.py",...
89,688
egnartsms/sublime-autosplit
refs/heads/master
/impl/sublime_util.py
import sublime import time from contextlib import contextmanager from functools import partial from functools import update_wrapper def ws_span(view, pos): reg = view.find('\\s+', pos) return 0 if reg is None or reg.begin() != pos else reg.size() def ws_end_after(view, pos): return pos + ws_span(view, ...
{"/impl/tests.py": ["/impl/edit.py", "/impl/sublime_util.py", "/impl/common.py"], "/command.py": ["/impl/edit.py", "/impl/listener.py", "/impl/shared.py", "/impl/tests.py"], "/impl/listener.py": ["/impl/edit.py", "/impl/shared.py", "/impl/sublime_util.py"], "/impl/parse.py": ["/impl/shared.py", "/impl/sublime_util.py",...
89,689
egnartsms/sublime-autosplit
refs/heads/master
/impl/tests.py
import sublime import re from sublime import Region from .edit import call_with_edit from .sublime_util import retained_reg from .common import method_for SPLIT_TESTS = [ { 'name': "Split not inside an arglist", 'input': """ gluck(10, 20, 30) + d|uck[10:30] """, 'op': 'split', 'r...
{"/impl/tests.py": ["/impl/edit.py", "/impl/sublime_util.py", "/impl/common.py"], "/command.py": ["/impl/edit.py", "/impl/listener.py", "/impl/shared.py", "/impl/tests.py"], "/impl/listener.py": ["/impl/edit.py", "/impl/shared.py", "/impl/sublime_util.py"], "/impl/parse.py": ["/impl/shared.py", "/impl/sublime_util.py",...
89,690
egnartsms/sublime-autosplit
refs/heads/master
/impl/common.py
def pairwise(itbl): it = iter(itbl) while True: yield next(it), next(it) def tracking_last(itbl): it = iter(itbl) prev = next(it) while True: try: cur = next(it) except StopIteration: yield prev, True break yield prev, False ...
{"/impl/tests.py": ["/impl/edit.py", "/impl/sublime_util.py", "/impl/common.py"], "/command.py": ["/impl/edit.py", "/impl/listener.py", "/impl/shared.py", "/impl/tests.py"], "/impl/listener.py": ["/impl/edit.py", "/impl/shared.py", "/impl/sublime_util.py"], "/impl/parse.py": ["/impl/shared.py", "/impl/sublime_util.py",...