File tree Expand file tree Collapse file tree 2 files changed +6
-12
lines changed
Expand file tree Collapse file tree 2 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 1- asn1crypto == 0.24.0
2- cffi == 1.12.2
1+ cffi == 1.14.6
32cryptography == 3.3.2
4- dj-database-url == 0.4.1
5- Django == 2.1.5
3+ Django == 2.2.19
64django-argonauts == 1.2.0
75django-debug-toolbar == 1.11
8- gunicorn == 19.6.0
9- pkg-resources == 0.0.0
10- psycopg2 == 2.7
116pycparser == 2.19
127python-u2flib-server == 5.0.0
138pytz == 2018.9
Original file line number Diff line number Diff line change 1111"""
1212
1313import os
14- import dj_database_url
1514
1615# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
1716BASE_DIR = os .path .dirname (os .path .dirname (os .path .abspath (__file__ )))
134133
135134ALLOWED_HOSTS = ['*' ]
136135
137-
138136DATABASES = {
139- 'default' : dj_database_url .config (
140- default = 'sqlite:////{0}' .format (os .path .join (BASE_DIR , 'db.sqlite3' ))
141- )
137+ 'default' : {
138+ 'ENGINE' : 'django.db.backends.sqlite3' ,
139+ 'NAME' : os .path .join (BASE_DIR , 'db.sqlite3' ),
140+ }
142141}
143142
144143SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO' , 'https' )
You can’t perform that action at this time.
0 commit comments