2013-06-03 16:31:39 +00:00
|
|
|
import notification.urls
|
|
|
|
|
2011-08-31 03:46:55 +00:00
|
|
|
from django.conf.urls.defaults import *
|
2013-06-03 16:31:39 +00:00
|
|
|
|
2013-10-08 19:37:22 +00:00
|
|
|
from frontend.views import social_auth_reset_password
|
2011-11-19 20:10:10 +00:00
|
|
|
from regluit.admin import admin_site
|
2013-03-09 22:37:33 +00:00
|
|
|
from regluit.core.sitemaps import WorkSitemap, PublisherSitemap
|
|
|
|
|
|
|
|
sitemaps = {
|
|
|
|
'works': WorkSitemap,
|
|
|
|
'publishers': PublisherSitemap,
|
|
|
|
}
|
2011-11-18 15:41:10 +00:00
|
|
|
|
2011-08-31 03:46:55 +00:00
|
|
|
urlpatterns = patterns('',
|
2013-08-14 21:29:38 +00:00
|
|
|
url(r'^socialauth/reset_password/$', social_auth_reset_password, name="social_auth_reset_password"),
|
2013-12-16 20:16:34 +00:00
|
|
|
url(r'^api/', include('regluit.api.urls')),
|
|
|
|
url(r'', include('regluit.frontend.urls')),
|
|
|
|
url(r'', include('regluit.payment.urls')),
|
|
|
|
url(r'', include('regluit.libraryauth.urls')),
|
|
|
|
url(r'^selectable/', include('selectable.urls')),
|
2011-11-19 20:10:10 +00:00
|
|
|
url(r'^admin/', include(admin_site.urls)),
|
2013-12-16 20:16:34 +00:00
|
|
|
url(r'^comments/', include('django.contrib.comments.urls')),
|
|
|
|
url(r'^notification/', include(notification.urls)),
|
|
|
|
url(r'^ckeditor/', include('ckeditor.urls')),
|
2011-08-31 03:46:55 +00:00
|
|
|
)
|
2013-03-09 22:37:33 +00:00
|
|
|
|
|
|
|
urlpatterns += patterns('django.contrib.sitemaps.views',
|
|
|
|
(r'^sitemap\.xml$', 'index', {'sitemaps': sitemaps}),
|
|
|
|
(r'^sitemap-(?P<section>.+)\.xml$', 'sitemap', {'sitemaps': sitemaps}),
|
|
|
|
)
|