url(r'', include('social_auth.urls')), url(r'^help/$', help_page, name="help"), (r'^admin/', include(admin.site.urls)), (r'^comments/$', CommentsView.as_view()), url(r'^comments/delete/(?P<comment_id>\d+)/$', 'knesset.utils.delete', name='comments-delete-comment'), url(r'^comments/post/', 'knesset.utils.comment_post_wrapper', name='comments-post-comment'), (r'^comments/', include('django.contrib.comments.urls')), (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict), #(r'^search/', include('haystack.urls')), url(r'^search/', 'knesset.auxiliary.views.search', name='site-search'), url(r'^feeds/$', MainActionsFeed(), name='main-actions-feed'), (r'^feeds/comments/$', feeds.Comments()), (r'^feeds/votes/$', feeds.Votes()), (r'^feeds/bills/$', feeds.Bills()), #(r'^sitemap\.xml$', redirect_to, {'url': '/static/sitemap.xml'}), url(r'^sitemap\.xml$', cache_page(LONG_CACHE_TIME)(sitemaps_views.index), { 'sitemaps': sitemaps_dict, 'sitemap_url_name': 'sitemaps' }, name='sitemap'), url(r'^sitemap-(?P<section>.+)\.xml$', cache_page(LONG_CACHE_TIME)(sitemaps_views.sitemap), {'sitemaps': sitemaps_dict}, name='sitemaps'), (r'^planet/', include('planet.urls')), url(r'^ajax/hit/$', update_hit_count_ajax, name='hitcount_update_ajax'),
url('', include('social.apps.django_app.urls', namespace='social')), url(r'^help/$', help_page, name="help"), (r'^admin/', include(admin.site.urls)), (r'^comments/$', CommentsView.as_view()), url(r'^comments/delete/(?P<comment_id>\d+)/$', 'knesset.utils.delete', name='comments-delete-comment'), url(r'^comments/post/', 'knesset.utils.comment_post_wrapper', name='comments-post-comment'), (r'^comments/', include('django.contrib.comments.urls')), (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict), #(r'^search/', include('haystack.urls')), url(r'^search/', 'auxiliary.views.search', name='site-search'), url(r'^feeds/$', feeds.MainActionsFeed(), name='main-actions-feed'), url(r'^feeds/comments/$', feeds.Comments(), name='feeds-comments'), url(r'^feeds/votes/$', feeds.Votes(), name='feeds-votes'), url(r'^feeds/bills/$', feeds.Bills(), name='feeds-bills'), (r'^feeds/annotations/$', feeds.Annotations()), #(r'^sitemap\.xml$', redirect_to, {'url': '/static/sitemap.xml'}), url(r'^sitemap\.xml$', cache_page(settings.LONG_CACHE_TIME)(sitemaps_views.index), { 'sitemaps': sitemaps_dict, 'sitemap_url_name': 'sitemaps' }, name='sitemap'), url(r'^sitemap-(?P<section>.+)\.xml$', cache_page(settings.LONG_CACHE_TIME)(sitemaps_views.sitemap), {'sitemaps': sitemaps_dict}, name='sitemaps'), (r'^planet/', include('planet.urls')),