创建新工程 添加了一些通用代码和数据库模型

This commit is contained in:
virusdefender
2015-06-26 15:59:53 +08:00
commit 00052d8e9b
42 changed files with 352 additions and 0 deletions

0
contest/__init__.py Normal file
View File

3
contest/admin.py Normal file
View File

@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

View File

8
contest/models.py Normal file
View File

@@ -0,0 +1,8 @@
# coding=utf-8
from django.db import models
from problem.models import AbstractProblem
class ContestProblem(AbstractProblem):
pass

3
contest/tests.py Normal file
View File

@@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

3
contest/views.py Normal file
View File

@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.