Commit c23d2804 by David Ormsbee

slightly simplified urlpatterns setting in urls.py

parent efc05710
......@@ -75,8 +75,10 @@ if settings.ASKBOT_ENABLED:
url(r'^followit/', include('followit.urls')), \
# url(r'^robots.txt$', include('robots.urls')),
)
urlpatterns = patterns(*urlpatterns)
if settings.DEBUG:
urlpatterns = patterns(*urlpatterns) + staticfiles_urlpatterns()
else:
urlpatterns = patterns(*urlpatterns)
urlpatterns += staticfiles_urlpatterns()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment