Problem with static folder

35 views
Skip to first unread message

Dariusz Mysior

unread,
Nov 18, 2015, 4:02:26 PM11/18/15
to Django users
I had a static folder nr 1 in app accounts and my templates see it, but when I create   folder static nr 2 in my project directory tempalates dosn't see it. I copy this static folder nr 2 and past to accounts folder next to this static folder nr 1 and it is visible. Why in project directory this is not visible?

Caique Reinhold

unread,
Nov 19, 2015, 2:06:51 PM11/19/15
to Django users
Add the path of the static folders to STATICFILES_DIRS list in settings, see documentation: https://docs.djangoproject.com/en/1.9/ref/settings/#std:setting-STATICFILES_DIRS

Dariusz Mysior

unread,
Nov 20, 2015, 4:02:24 PM11/20/15
to Django users
Thanks!
Reply all
Reply to author
Forward
0 new messages