Dodanie katalogów files i media do .gitignore.
[redakcja.git] / project / urls.py
index e339966..3b75849 100644 (file)
@@ -8,8 +8,11 @@ admin.autodiscover()
 
 urlpatterns = patterns('',
     # Example:
 
 urlpatterns = patterns('',
     # Example:
-    # (r'^platforma/', include('platforma.foo.urls')),
-
+    url(r'^$', 'explorer.views.file_list', name='file_list'),
+    url(r'^file/(?P<path>[^/]+)/$', 'explorer.views.file_xml', name='file_xml'),
+    url(r'^html/(?P<path>[^/]+)/$', 'explorer.views.file_html', name='file_html'),
+    url(r'^images/(?P<folder>[^/]+)/$', 'explorer.views.folder_images', name='folder_image'),
+    
     # Admin panel
     url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
     url(r'^admin/(.*)', admin.site.root),
     # Admin panel
     url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
     url(r'^admin/(.*)', admin.site.root),