Permalink
Browse files

fuck fuck fuck

  • Loading branch information...
1 parent dbe2aba commit 6a74a317bd4912b37073a766d1bae7851aa64909 Justine Tunney committed Aug 20, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 occupywallst/urls.py
View
@@ -15,13 +15,7 @@
site_admin.autodiscover()
-if settings.DEBUG:
- urlpatterns = patterns('',
- url(r'^media/(?P<path>.*)$', 'django.views.static.serve',
- {'document_root': settings.MEDIA_ROOT}),
- )
-
-urlpatterns += patterns('',
+urlpatterns = patterns('',
url(r'^$', 'occupywallst.views.index', {'per_page': 5}, name='index'),
url(r'^rss/news/$', feeds.RSSNewsFeed(), name='rss-news'),
url(r'^rss/forum/$', feeds.RSSForumFeed(), name='rss-forum'),
@@ -80,4 +74,10 @@
url(r'^(.*)$', 'occupywallst.views.bonus'),
)
+if settings.DEBUG:
+ urlpatterns = patterns('',
+ url(r'^media/(?P<path>.*)$', 'django.views.static.serve',
+ {'document_root': settings.MEDIA_ROOT}),
+ )
+

0 comments on commit 6a74a31

Please sign in to comment.