V1 cleanup (#73)

* removed obsolete code

* removed obsolete code

* removed obsolete code and added type annotations

* removed obsolete code and added type annotations

* version bump

Co-authored-by: Peter Dwyer <peter.dwyer@clanwilliamhealth.com>
This commit is contained in:
2022-08-26 13:11:29 +01:00
committed by GitHub
parent 1aeda89b74
commit 40b79c2f5d
42 changed files with 79 additions and 2720 deletions

View File

@@ -22,7 +22,6 @@ SECRET_KEY = os.environ.get("DJANGO_SECRET_KEY", None)
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv('DJANGO_DEBUG', False) == 'True'
# DEBUG = False
ALLOWED_HOSTS = os.environ.get("DJANGO_ALLOWED_HOSTS", "localhost").split(",")
@@ -39,7 +38,6 @@ INSTALLED_APPS = (
'webpack_loader',
'bootstrap4',
"comic",
"comic_auth",
'django_extensions',
'imagekit',
'django_boost',
@@ -102,8 +100,6 @@ STATIC_URL = "/static/"
STATICFILES_DIRS = [
Path(BASE_DIR, "static"),
# Path(BASE_DIR, "node_modules"),
Path(BASE_DIR, "frontend", "node_modules"),
Path(BASE_DIR, "frontend", "dist")
]
@@ -169,14 +165,6 @@ PERMISSIONS_POLICY = {
"usb": [],
}
# SESSION_COOKIE_HTTPONLY = True
# SESSION_COOKIE_SECURE = True
# SESSION_COOKIE_SAMESITE = 'Strict'
# CSRF_COOKIE_HTTPONLY = True
# CSRF_COOKIE_SECURE = True
# CSRF_COOKIE_SAMESITE = 'Strict'
# SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
REST_FRAMEWORK = {
# Use Django's standard `django.contrib.auth` permissions,