This repository was archived by the owner on Oct 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +47
-21
lines changed Expand file tree Collapse file tree 9 files changed +47
-21
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "editor.formatOnSave" : true
3
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Generated by Django 4.0.8 on 2023-12-25 20:16
2
+
3
+ import accounts .models
4
+ from django .db import migrations
5
+
6
+
7
+ class Migration (migrations .Migration ):
8
+
9
+ dependencies = [
10
+ ('accounts' , '0014_alter_user_managers' ),
11
+ ]
12
+
13
+ operations = [
14
+ migrations .AlterModelManagers (
15
+ name = 'user' ,
16
+ managers = [
17
+ ('objects' , accounts .models .UserManager ()),
18
+ ],
19
+ ),
20
+ ]
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import os
2
+
3
+ import django
4
+ from channels .http import AsgiHandler
5
+ from channels .routing import ProtocolTypeRouter
6
+
7
+ os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "config.settings" )
8
+ django .setup ()
9
+
10
+ application = ProtocolTypeRouter (
11
+ {
12
+ "http" : AsgiHandler (),
13
+ # Just HTTP for now. (We can add other protocols later.)
14
+ }
15
+ )
Original file line number Diff line number Diff line change 1
1
"""
2
- Django settings for SMS project.
2
+ Django settings for config project.
3
3
4
4
Generated by 'django-admin startproject' using Django 2.2.3.
5
5
75
75
"django.middleware.clickjacking.XFrameOptionsMiddleware" ,
76
76
]
77
77
78
- ROOT_URLCONF = "SMS .urls"
78
+ ROOT_URLCONF = "config .urls"
79
79
80
80
TEMPLATES = [
81
81
{
97
97
},
98
98
]
99
99
100
- WSGI_APPLICATION = "SMS .wsgi.application"
100
+ WSGI_APPLICATION = "config .wsgi.application"
101
101
102
- ASGI_APPLICATION = "SMS .asgi.application"
102
+ ASGI_APPLICATION = "config .asgi.application"
103
103
104
104
105
105
# Database
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
"""
2
- WSGI config for SMS project.
2
+ WSGI config for config project.
3
3
4
4
It exposes the WSGI callable as a module-level variable named ``application``.
5
5
11
11
12
12
from django .core .wsgi import get_wsgi_application
13
13
14
- os .environ .setdefault (' DJANGO_SETTINGS_MODULE' , 'SMS .settings' )
14
+ os .environ .setdefault (" DJANGO_SETTINGS_MODULE" , "config .settings" )
15
15
16
16
application = get_wsgi_application ()
Original file line number Diff line number Diff line change 4
4
import sys
5
5
import environ
6
6
7
+
7
8
def main ():
8
- os .environ .setdefault (' DJANGO_SETTINGS_MODULE' , 'SMS .settings' )
9
+ os .environ .setdefault (" DJANGO_SETTINGS_MODULE" , "config .settings" )
9
10
try :
10
11
from django .core .management import execute_from_command_line
11
12
except ImportError as exc :
@@ -17,7 +18,7 @@ def main():
17
18
execute_from_command_line (sys .argv )
18
19
19
20
20
- if __name__ == ' __main__' :
21
+ if __name__ == " __main__" :
21
22
# OS environment variables take precedence over variables from .env
22
23
environ .Env .read_env ()
23
24
main ()
You can’t perform that action at this time.
0 commit comments