Skip to content

Commit c556146

Browse files
committed
ticket:1 fix static files #5
1 parent 3afaa41 commit c556146

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

fortytwo_test_task/settings/common.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
SECRET_KEY = 'x=c0_e(onjn^80irdy2c221#)2t^qi&6yrc$31i(&ti*_jf3l8'
2626

2727
# SECURITY WARNING: don't run with debug turned on in production!
28-
DEBUG = True
28+
DEBUG = False
2929

3030
TEMPLATE_DEBUG = True
3131

@@ -111,8 +111,7 @@
111111
# Put strings here, like "/home/html/static" or "C:/www/django/static".
112112
# Always use forward slashes, even on Windows.
113113
# Don't forget to use absolute paths, not relative paths.
114-
os.path.join(BASE_DIR, 'assets'),
115-
os.path.join(BASE_DIR, 'apps/hello/static'),
114+
os.path.join(BASE_DIR, 'static'),
116115
)
117116

118117
# Static files fix

0 commit comments

Comments
 (0)