Fix static paths
This commit is contained in:
parent
cce3222742
commit
020cccf258
1 changed files with 4 additions and 2 deletions
|
@ -108,9 +108,11 @@ USE_TZ = True
|
||||||
|
|
||||||
STATIC_ROOT = ''
|
STATIC_ROOT = ''
|
||||||
|
|
||||||
STATIC_URL = '/static/'
|
PROJECT_ROOT = os.path.abspath(os.path.dirname(__name__))
|
||||||
|
|
||||||
STATICFILES_DIRS = (os.path.join('static'), )
|
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'app/app/static')
|
||||||
|
|
||||||
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
|
||||||
|
|
Loading…
Reference in a new issue