Attachment 'urls.py'
Download 1 # -*- coding: utf-8 -*-
2 # Copyright (C) 1998-2016 by the Free Software Foundation, Inc.
3 #
4 # This file is part of Postorius.
5 #
6 # Postorius is free software: you can redistribute it and/or modify it under
7 # the terms of the GNU General Public License as published by the Free
8 # Software Foundation, either version 3 of the License, or (at your option)
9 # any later version.
10 #
11 # Postorius is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 # more details.
15 #
16 # You should have received a copy of the GNU General Public License along with
17 # Postorius. If not, see <http://www.gnu.org/licenses/>.
18
19
20 from django.conf.urls import include, url
21 from django.contrib import admin
22 from django.urls import reverse_lazy
23 from django.views.generic import RedirectView
24
25 urlpatterns = [
26 url(r'^$', RedirectView.as_view(
27 url=reverse_lazy('list_index'),
28 permanent=True)),
29 url(r'^postorius/', include('postorius.urls')),
30 url(r'^hyperkitty/', include('hyperkitty.urls')),
31 url(r'', include('django_mailman3.urls')),
32 url(r'^accounts/', include('allauth.urls')),
33 # Django admin
34 url(r'^admin/', admin.site.urls),
35 url(r'^mailman3/', include('postorius.urls')),
36 url(r'^archives/', include('hyperkitty.urls')),
37 ]
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.