Skip to content

Commit 46cc6d4

Browse files
committed
Settings - Added Local Static and Templates
1 parent 956f3f8 commit 46cc6d4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

core/settings.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
ROOT_URLCONF = "core.urls"
6969

70-
HOME_TEMPLATES = os.path.join(BASE_DIR, 'home', 'templates')
70+
HOME_TEMPLATES = os.path.join(BASE_DIR, 'templates')
7171

7272
TEMPLATES = [
7373
{
@@ -154,6 +154,10 @@
154154
STATIC_URL = '/static/'
155155
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
156156

157+
STATICFILES_DIRS = (
158+
os.path.join(BASE_DIR, 'static'),
159+
)
160+
157161
#if not DEBUG:
158162
# STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
159163

0 commit comments

Comments
 (0)