重命名工程 qduoj -> oj

This commit is contained in:
virusdefender 2015-08-02 08:59:01 +08:00
parent 4f40f28a8a
commit 4d2a5c129e
7 changed files with 5 additions and 9 deletions

View File

@ -3,7 +3,7 @@ import os
import sys import sys
if __name__ == "__main__": 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 from django.core.management import execute_from_command_line

View File

@ -1,6 +1,6 @@
# coding=utf-8 # coding=utf-8
""" """
Django settings for qduoj project. Django settings for oj project.
Generated by 'django-admin startproject' using Django 1.8. Generated by 'django-admin startproject' using Django 1.8.
@ -63,7 +63,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.security.SecurityMiddleware', 'django.middleware.security.SecurityMiddleware',
) )
ROOT_URLCONF = 'qduoj.urls' ROOT_URLCONF = 'oj.urls'
TEMPLATES = [ TEMPLATES = [
{ {
@ -81,7 +81,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = 'qduoj.wsgi.application' WSGI_APPLICATION = 'oj.wsgi.application'
# Internationalization # Internationalization

View File

@ -6,10 +6,6 @@ from django.views.generic import TemplateView
from account.views import UserLoginAPIView from account.views import UserLoginAPIView
urlpatterns = [ 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'^docs/', include('rest_framework_swagger.urls')),
url(r'^admin/', include(admin.site.urls)), url(r'^admin/', include(admin.site.urls)),

View File

@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application 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() application = get_wsgi_application()