ansible/roles/mailman/files/urls.py
2014-07-02 09:20:40 +00:00

28 lines
883 B
Python

# -*- coding: utf-8 -*-
import hyperkitty
import postorius
from django.conf.urls import patterns, include, url
from django.conf import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
# Import hyperkitty urls and set urlpatterns if you want to hook
# hyperkitty into an existing django site.
# Otherwise set ROOT_URLCONF in settings.py to
# `hyperkitty.urls`.
from django.core.urlresolvers import reverse_lazy
from django.views.generic import RedirectView
urlpatterns = patterns('',
url(r'^$', RedirectView.as_view(url=reverse_lazy('hyperkitty.views.index.index'))),
#url(r'^$', 'postorius.views.list_index'),
url(r'^admin/', include('postorius.urls')),
url(r'^archives/', include('hyperkitty.urls')),
url(r'', include('social_auth.urls')),
url(r'', include('django_browserid.urls')),
)