correct the static files setup
This commit is contained in:
parent
a513de51e7
commit
8310a1569a
|
@ -174,5 +174,4 @@ migrations/
|
||||||
htmlcov/
|
htmlcov/
|
||||||
.second_run
|
.second_run
|
||||||
|
|
||||||
network_inventory/static/
|
/static
|
||||||
!network_inventory/static/core
|
|
||||||
|
|
|
@ -125,7 +125,7 @@ USE_TZ = True
|
||||||
# Static files (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/2.0/howto/static-files/
|
# https://docs.djangoproject.com/en/2.0/howto/static-files/
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = os.path.join(BASE_DIR, "static")
|
STATIC_ROOT = os.path.join(BASE_DIR, "..", "static")
|
||||||
|
|
||||||
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap4.html"
|
DJANGO_TABLES2_TEMPLATE = "django_tables2/bootstrap4.html"
|
||||||
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
CRISPY_TEMPLATE_PACK = 'bootstrap4'
|
||||||
|
|
Loading…
Reference in New Issue