Skip to content

Commit f5176e0

Browse files
committed
Set static_url according to Gondor's docs
1 parent d3dbccd commit f5176e0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pythonkc_site/settings.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@
6262
# Example: "/home/media/media.lawrence.com/static/"
6363
#STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static'),
6464

65-
# URL prefix for static files.
66-
# Example: "http://media.lawrence.com/static/"
67-
STATIC_URL = '/static/'
65+
# See https://gondor.io/support/quick-how-to/#handling-site-media-staticfiles
66+
STATIC_URL = "/site_media/static/"
6867

6968
# URL prefix for admin static files -- CSS, JavaScript and images.
7069
# Make sure to use a trailing slash.

0 commit comments

Comments
 (0)