mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-28 08:02:11 +00:00
重命名工程 qduoj -> oj
This commit is contained in:
parent
4f40f28a8a
commit
4d2a5c129e
@ -3,7 +3,7 @@ import os
|
||||
import sys
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "qduoj.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oj.settings")
|
||||
|
||||
from django.core.management import execute_from_command_line
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# coding=utf-8
|
||||
"""
|
||||
Django settings for qduoj project.
|
||||
Django settings for oj project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 1.8.
|
||||
|
||||
@ -63,7 +63,7 @@ MIDDLEWARE_CLASSES = (
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
)
|
||||
|
||||
ROOT_URLCONF = 'qduoj.urls'
|
||||
ROOT_URLCONF = 'oj.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
@ -81,7 +81,7 @@ TEMPLATES = [
|
||||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'qduoj.wsgi.application'
|
||||
WSGI_APPLICATION = 'oj.wsgi.application'
|
||||
|
||||
|
||||
# Internationalization
|
@ -6,10 +6,6 @@ from django.views.generic import TemplateView
|
||||
from account.views import UserLoginAPIView
|
||||
|
||||
urlpatterns = [
|
||||
# Examples:
|
||||
# url(r'^$', 'qduoj.views.home', name='home'),
|
||||
# url(r'^blog/', include('blog.urls')),
|
||||
|
||||
url(r'^docs/', include('rest_framework_swagger.urls')),
|
||||
|
||||
url(r'^admin/', include(admin.site.urls)),
|
@ -11,6 +11,6 @@ import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "qduoj.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "oj.settings")
|
||||
|
||||
application = get_wsgi_application()
|
Loading…
Reference in New Issue
Block a user