On Wed, Jan 16, 2013 at 10:38 AM, Fred Kingham <fredking...@gmail.com> wrote: > not sure if this is the right place to post this, but doesn't this - > > https://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-files-in-development > > "If using runserver for local development (and the DEBUG setting is True), > you no longer need to add anything to your URLconf for serving static files > in development." > > contradict this - > > https://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-files-in-development > > " > > To enable this view if you are using some other server for local > development, you'll add a couple of lines to your URLconf. The first line > goes at the top of the file, and the last line at the bottom: > > from django.contrib.staticfiles.urls import staticfiles_urlpatterns > > # ... the rest of your URLconf goes here ... > > urlpatterns += staticfiles_urlpatterns() > " > >
No. You've snipped the context in the second extract which makes it clear that it is not required using runserver: """ This view is automatically enabled and will serve your static files at STATIC_URL when you use the built-in runserver management command. To enable this view if you are using some other server for local development, you'll add a couple of lines to your URLconf. The first line goes at the top of the file, and the last line at the bottom: """ Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.