Re: Confused by STATICFILES_DIRS not working

2014-09-24 Thread Thabang Bernette Tseboho
Yes, it's very odd. The only thing that fixes it is setting STATIC_URL="static/" instead if "/static/" On 23 Sep 2014 8:47 PM, "Collin Anderson" wrote: > So it works fine in production, when DEBUG = False, but not on your local > runserver when DEBUG = True? > > -- > You received this message bec

Re: Confused by STATICFILES_DIRS not working

2014-09-23 Thread Thabang Bernette Tseboho
Yes, that is how my urls are built. This works perfectly till I have DEBUG=TRUE. On Tuesday, 23 September 2014 14:49:52 UTC+2, Collin Anderson wrote: > > How are you referencing your css and images in the frontend? > > It should be something like > > > > > -- You received this message because

Re: Confused by STATICFILES_DIRS not working

2014-09-23 Thread Thabang Bernette Tseboho
Hi Ivo, I have my project set up exactly as you suggested, and everything works in production. But I run into 2 problems. 1. When DEBUG=True, all my frontend styling is knocked out. So I resort to; STATIC_URL = '/static/' if DEBUG: STATIC_URL = 'static/' 2. which then leaves