migration to bootstrap 4

This commit is contained in:
ajurna
2020-05-14 11:23:11 +01:00
parent 53fd616038
commit 73de37f784
30 changed files with 87 additions and 11906 deletions

View File

@@ -15,7 +15,7 @@ import os
import dj_database_url
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
# Quick-start development settings - unsuitable for production
@@ -40,6 +40,7 @@ INSTALLED_APPS = (
"django.contrib.messages",
"django.contrib.staticfiles",
"snowpenguin.django.recaptcha2",
'bootstrap4',
"comic",
"comic_auth",
)
@@ -105,6 +106,12 @@ USE_TZ = True
STATIC_URL = "/static/"
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
print(STATICFILES_DIRS)
LOGIN_REDIRECT_URL = "/comic/"
LOGIN_URL = "/login/"