Skip to content
Snippets Groups Projects
Commit d3fcea9c authored by Benjamin Hättasch's avatar Benjamin Hättasch
Browse files

Add bootstrap4 and font awesome

Add suitable libraries to requirements
Load these apps and adapt their basic settings
parent 91d7d95a
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,8 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'bootstrap4',
'fontawesome',
]
MIDDLEWARE = [
......@@ -119,3 +121,14 @@ USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# Settings for Bootstrap
BOOTSTRAP4 = {
# Use custom CSS
"css_url": {
"href": STATIC_URL + "AKDashboard/css/bootstrap.css",
},
}
# Settings for FontAwesome
FONTAWESOME_CSS_URL = "//cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment