Re: staticfiles defaults broke my site

2010-11-03 Thread Jannis Leidel
On 02.11.2010, at 03:55, Carl Karsten wrote: > I am not completely sure what is going on, but pretty sure the new > staticfiles thing is colliding with my existing > > urlpatterns += patterns('', > (r'^static/(?P.*)$', 'django.contrib.staticfiles.views.serve', >{'document_root':

Re: staticfiles defaults broke my site

2010-11-02 Thread SmileyChris
On Nov 3, 1:47 am, Carl Karsten wrote: > On Oct 28, 9:45 pm, SmileyChris wrote: > > > My suggestion is that StaticFilesHandler only does its magic if > > 'django.contrib.staticfiles' is found in INSTALLED_APPS. Does that > > sound acceptable? > > Is

Re: staticfiles defaults broke my site

2010-11-02 Thread Carl Karsten
On Oct 28, 9:45 pm, SmileyChris wrote: > My suggestion is that StaticFilesHandler only does its magic if > 'django.contrib.staticfiles' is found in INSTALLED_APPS. Does that > sound acceptable? Is it really an app? If not, I suggest STATICFILES_URL defaults to None, and

Re: staticfiles defaults broke my site

2010-11-01 Thread Russell Keith-Magee
On Tue, Nov 2, 2010 at 10:55 AM, Carl Karsten wrote: > I am not completely sure what is going on, but pretty sure the new > staticfiles thing is colliding with my existing > > urlpatterns += patterns('', > (r'^static/(?P.*)$', 'django.contrib.staticfiles.views.serve', >    

staticfiles defaults broke my site

2010-11-01 Thread Carl Karsten
I am not completely sure what is going on, but pretty sure the new staticfiles thing is colliding with my existing urlpatterns += patterns('', (r'^static/(?P.*)$', 'django.contrib.staticfiles.views.serve', {'document_root': 'static/','show_indexes': True})) That used to work, now I get: