This commit is contained in:
0
backend/competition/__init__.py
Normal file
0
backend/competition/__init__.py
Normal file
3
backend/competition/admin.py
Normal file
3
backend/competition/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
5
backend/competition/apps.py
Normal file
5
backend/competition/apps.py
Normal file
@@ -0,0 +1,5 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CompetitionConfig(AppConfig):
|
||||
name = 'competition'
|
||||
0
backend/competition/migrations/__init__.py
Normal file
0
backend/competition/migrations/__init__.py
Normal file
3
backend/competition/models.py
Normal file
3
backend/competition/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
3
backend/competition/tests.py
Normal file
3
backend/competition/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
3
backend/competition/views.py
Normal file
3
backend/competition/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
@@ -47,6 +47,7 @@ INSTALLED_APPS = [
|
||||
# 'adminsortable2', # 暂时禁用,改用手动设置
|
||||
'shop',
|
||||
'community',
|
||||
'competition',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
||||
Reference in New Issue
Block a user