rollback renaming Serwer_django package to config
This commit is contained in:
parent
76cceaaec2
commit
5509f81818
@ -1,5 +1,5 @@
|
||||
"""
|
||||
ASGI config for Serwer_django project.
|
||||
ASGI Serwer_django for Serwer_django project.
|
||||
|
||||
It exposes the ASGI callable as a module-level variable named ``application``.
|
||||
|
||||
@ -11,6 +11,6 @@ import os
|
||||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Serwer_django.settings')
|
||||
|
||||
application = get_asgi_application()
|
@ -49,7 +49,7 @@ MIDDLEWARE = [
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'config.urls'
|
||||
ROOT_URLCONF = 'Serwer_django.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
@ -68,7 +68,7 @@ TEMPLATES = [
|
||||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'config.wsgi.application'
|
||||
WSGI_APPLICATION = 'Serwer_django.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
@ -1,7 +1,7 @@
|
||||
from django.contrib.auth.forms import UserCreationForm
|
||||
from django.contrib.auth.models import User
|
||||
from django.urls import reverse_lazy
|
||||
from django.views import generic
|
||||
from django_registration.forms import User
|
||||
|
||||
|
||||
class SignUpForm(UserCreationForm):
|
@ -1,5 +1,5 @@
|
||||
"""
|
||||
WSGI config for Serwer_django project.
|
||||
WSGI Serwer_django for Serwer_django project.
|
||||
|
||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||
|
||||
@ -11,6 +11,6 @@ import os
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Serwer_django.settings')
|
||||
|
||||
application = get_wsgi_application()
|
Binary file not shown.
@ -6,7 +6,7 @@ import sys
|
||||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Serwer_django.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
|
Loading…
Reference in New Issue
Block a user