Skip to content

Commit 9e3ea20

Browse files
committed
ticket#1 fix static files #3
1 parent 441f09b commit 9e3ea20

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

fortytwo_test_task/settings/common.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,13 @@
112112
# Always use forward slashes, even on Windows.
113113
# Don't forget to use absolute paths, not relative paths.
114114
os.path.join(BASE_DIR, 'assets'),
115-
os.path.join(BASE_DIR, 'apps/home/static'),
115+
os.path.join(BASE_DIR, 'apps/hello/static'),
116+
)
117+
118+
# Static files fix
119+
STATICFILES_FINDERS = (
120+
'django.contrib.staticfiles.finders.FileSystemFinder',
121+
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
116122
)
117123

118124

0 commit comments

Comments
 (0)