diff --git a/sandbox/urls.py b/sandbox/urls.py index b48d932..802d07c 100644 --- a/sandbox/urls.py +++ b/sandbox/urls.py @@ -5,11 +5,9 @@ urlpatterns = patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^accounts/', include('accounts.urls', namespace='accounts')), - url(r'^places/', include('places.urls', namespace='places')) -) - -urlpatterns += patterns('', - (r'^media/(?P.*)$', 'django.views.static.serve', { + url(r'^places/', include('places.urls', namespace='places')), + url(r'^media/(?P.*)$', 'django.views.static.serve', { 'document_root': settings.MEDIA_ROOT}), - (r'^static/(?P.*)$', 'django.views.static.serve', { - 'document_root': settings.STATIC_ROOT})) + url(r'^static/(?P.*)$', 'django.views.static.serve', { + 'document_root': settings.STATIC_ROOT}), +) diff --git a/templates/index.html b/templates/index.html index 7893264..ad67a0b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,4 +34,4 @@ - \ No newline at end of file +