mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
migration to bootstrap 4
This commit is contained in:
@@ -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/"
|
||||
|
||||
Reference in New Issue
Block a user