X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/084544e4f7c9269b1445a9e5109fa641a3e1aaac..22aac0da99594406b261f14c135812c855c196ef:/platforma/urls.py?ds=sidebyside diff --git a/platforma/urls.py b/platforma/urls.py index 495c7357..8100a182 100755 --- a/platforma/urls.py +++ b/platforma/urls.py @@ -32,6 +32,8 @@ urlpatterns = patterns('', # Our über-restful api # url(r'^api/', include('api.urls')), + url(r'^gallery/(?P[^/]+)$', 'explorer.views.document_gallery'), + # Static files (should be served by Apache) url(r'^%s(?P.+)$' % settings.MEDIA_URL[1:], 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),