8.8 What We Glossed Over: collectstatic and Other Static Directories
parent
9cb89fbbb2
commit
2b42be9815
|
@ -1 +1,2 @@
|
|||
.vscode
|
||||
src/static
|
|
@ -31,7 +31,7 @@ ALLOWED_HOSTS = []
|
|||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
'django.contrib.admin',
|
||||
# 'django.contrib.admin',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
|
@ -119,3 +119,4 @@ USE_TZ = True
|
|||
# https://docs.djangoproject.com/en/1.11/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
|
Loading…
Reference in New Issue