Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clearance/apps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
#from django.utils.translation import gettext_lazy as _

class ClearanceConfig(AppConfig):
name = 'clearance'
Expand Down
9 changes: 6 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
asgiref==3.6.0
boto3==1.9.96
botocore==1.12.96
certifi==2018.10.15
chardet==3.0.4
dj-database-url==0.5.0
Django==2.2.13
django-crispy-forms==1.7.2
Django==4.1.5
django-cors-headers==3.13.0
django-crispy-forms==1.14.0
django-heroku==0.3.1
django-storages==1.7.1
docutils==0.14
gunicorn==19.9.0
idna==2.7
jmespath==0.9.3
Pillow==9.0.1
#psycopg2==2.7.7
psycopg2==2.9.5
python-dateutil==2.8.0
pytz==2018.5
requests==2.20.0
s3transfer==0.2.0
six==1.12.0
sqlparse==0.4.3
urllib3==1.24.2
whitenoise==4.1.2
5 changes: 4 additions & 1 deletion tknp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
SECRET_KEY = '6uwfxd*-ja4b4r#-zy7*fgs&2f0i=jsh_2)+hu*qf0sa&2x%nn'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

ALLOWED_HOSTS = ['*']

Expand All @@ -35,6 +35,7 @@
'crispy_forms',
'clearance',
'students',
'corsheaders',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
Expand All @@ -44,7 +45,9 @@
]

MIDDLEWARE = [

'django.middleware.security.SecurityMiddleware',
'corsheaders.middleware.CorsMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
Expand Down