Design the page

This commit is contained in:
Yohann D'ANELLO
2020-02-29 13:04:03 +01:00
parent 78e18d6dc1
commit b01ed31e45
4 changed files with 43 additions and 68 deletions

View File

@ -166,6 +166,9 @@ STATIC_ROOT = os.path.realpath(__file__)
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')]
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/'
CRISPY_TEMPLATE_PACK = 'bootstrap4'
DJANGO_TABLES2_TEMPLATE = 'django_tables2/bootstrap4.html'
# URL prefix for static files.