cleanup comments
[wolnelektury.git] / src / social / urls.py
index 3642d91..f9222ce 100755 (executable)
@@ -6,7 +6,8 @@ from django.conf.urls import patterns, url
 from django.views.decorators.cache import never_cache
 from social.views import ObjectSetsFormView
 
 from django.views.decorators.cache import never_cache
 from social.views import ObjectSetsFormView
 
-urlpatterns = patterns('social.views',
+urlpatterns = patterns(
+    'social.views',
     url(r'^lektura/(?P<slug>[a-z0-9-]+)/lubie/$', 'like_book', name='social_like_book'),
     url(r'^lektura/(?P<slug>[a-z0-9-]+)/nie_lubie/$', 'unlike_book', name='social_unlike_book'),
     url(r'^lektura/(?P<slug>[a-z0-9-]+)/polki/$', never_cache(ObjectSetsFormView()), name='social_book_sets'),
     url(r'^lektura/(?P<slug>[a-z0-9-]+)/lubie/$', 'like_book', name='social_like_book'),
     url(r'^lektura/(?P<slug>[a-z0-9-]+)/nie_lubie/$', 'unlike_book', name='social_unlike_book'),
     url(r'^lektura/(?P<slug>[a-z0-9-]+)/polki/$', never_cache(ObjectSetsFormView()), name='social_book_sets'),
@@ -17,10 +18,10 @@ urlpatterns = patterns('social.views',
     url(r'^cite_main/(?P<pk>\d+)\.(?P<lang>.+)\.html$', 'cite', {'main': True}, name='social_cite_main'),
     url(r'^cite_info/(?P<pk>\d+).html$', 'cite_info', name='social_cite_info'),
 
     url(r'^cite_main/(?P<pk>\d+)\.(?P<lang>.+)\.html$', 'cite', {'main': True}, name='social_cite_main'),
     url(r'^cite_info/(?P<pk>\d+).html$', 'cite_info', name='social_cite_info'),
 
-    #~ url(r'^polki/(?P<shelf>[a-zA-Z0-9-]+)/formaty/$', 'shelf_book_formats', name='shelf_book_formats'),
-    #~ url(r'^polki/(?P<shelf>[a-zA-Z0-9-]+)/(?P<slug>%s)/usun$' % SLUG, 'remove_from_shelf', name='remove_from_shelf'),
-    #~ url(r'^polki/$', 'user_shelves', name='user_shelves'),
-    #~ url(r'^polki/(?P<slug>[a-zA-Z0-9-]+)/usun/$', 'delete_shelf', name='delete_shelf'),
-    #~ url(r'^polki/(?P<slug>[a-zA-Z0-9-]+)\.zip$', 'download_shelf', name='download_shelf'),
-    #~ url(r'^polki/nowa/$', 'new_set', name='new_set'),
+    # url(r'^polki/(?P<shelf>[a-zA-Z0-9-]+)/formaty/$', 'shelf_book_formats', name='shelf_book_formats'),
+    # url(r'^polki/(?P<shelf>[a-zA-Z0-9-]+)/(?P<slug>%s)/usun$' % SLUG, 'remove_from_shelf', name='remove_from_shelf'),
+    # url(r'^polki/$', 'user_shelves', name='user_shelves'),
+    # url(r'^polki/(?P<slug>[a-zA-Z0-9-]+)/usun/$', 'delete_shelf', name='delete_shelf'),
+    # url(r'^polki/(?P<slug>[a-zA-Z0-9-]+)\.zip$', 'download_shelf', name='download_shelf'),
+    # url(r'^polki/nowa/$', 'new_set', name='new_set'),
 )
 )