2013-10-01 13:03:30 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import hyperkitty
|
|
|
|
import postorius
|
|
|
|
|
2014-07-02 09:20:40 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
2013-10-01 13:03:30 +00:00
|
|
|
from django.conf import settings
|
|
|
|
|
|
|
|
# Uncomment the next two lines to enable the admin:
|
|
|
|
from django.contrib import admin
|
|
|
|
admin.autodiscover()
|
|
|
|
|
2013-12-06 16:52:09 +00:00
|
|
|
from django.core.urlresolvers import reverse_lazy
|
|
|
|
from django.views.generic import RedirectView
|
2013-10-01 13:03:30 +00:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2016-03-24 10:03:12 +00:00
|
|
|
url(r'^$', RedirectView.as_view(
|
|
|
|
url=reverse_lazy('hyperkitty.views.index.index'),
|
|
|
|
permanent=True)),
|
2013-10-01 13:03:30 +00:00
|
|
|
#url(r'^$', 'postorius.views.list_index'),
|
|
|
|
url(r'^admin/', include('postorius.urls')),
|
|
|
|
url(r'^archives/', include('hyperkitty.urls')),
|
2015-06-23 08:50:08 +00:00
|
|
|
# Social Auth
|
2015-10-26 23:04:33 +00:00
|
|
|
url(r'', include('social.apps.django_app.urls', namespace='social')),
|
2015-06-23 08:50:08 +00:00
|
|
|
# BrowserID
|
2015-10-26 23:04:33 +00:00
|
|
|
url(r'', include('django_browserid.urls')),
|
2013-10-01 13:03:30 +00:00
|
|
|
)
|