diff --git a/pv/urls.py b/pv/urls.py
index 8d97fb30956e83f58fa9880e4e41cbbad48b04cb..b4f72ce38a0b7a8d38e23f45c48df8e01b325956 100644
--- a/pv/urls.py
+++ b/pv/urls.py
@@ -6,17 +6,15 @@ admin.autodiscover()
 
 from program.views import json_day_schedule
 
-urlpatterns = patterns(
-    '',
-    (r'^admin/', include(admin.site.urls)),
-    (r'^program/', include('program.urls')),
-    (r'^nop', include('nop.urls')),
-    (r'^tinymce/', include('tinymce.urls')),
-    url(r'^export/day_schedule/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/$',
-        json_day_schedule))
+urlpatterns = patterns('',
+                       (r'^admin/', include(admin.site.urls)),
+                       (r'^program/', include('program.urls')),
+                       (r'^nop', include('nop.urls')),
+                       (r'^tinymce/', include('tinymce.urls')),
+                       url(r'^export/day_schedule/(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/$', json_day_schedule)
+)
 
 if settings.DEBUG:
-    urlpatterns += patterns(
-        '',
-        (r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
-            {'document_root': settings.MEDIA_ROOT}))
+    urlpatterns += patterns('',
+                            (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT})
+)