| 1 |
# -*- coding: utf-8 -*- |
| 2 |
# |
| 3 |
# Copyright (C) 2016-2023 by the Free Software Foundation, Inc. |
| 4 |
# |
| 5 |
# This file is part of Django-Mailman. |
| 6 |
# |
| 7 |
# Django-Mailman is free software: you can redistribute it and/or modify it |
| 8 |
# under the terms of the GNU General Public License as published by the Free |
| 9 |
# Software Foundation, either version 3 of the License, or (at your option) |
| 10 |
# any later version. |
| 11 |
# |
| 12 |
# Django-Mailman is distributed in the hope that it will be useful, but WITHOUT |
| 13 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 14 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 15 |
# more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public License along with |
| 18 |
# Django-Mailman. If not, see <http://www.gnu.org/licenses/>. |
| 19 |
|
| 20 |
""" |
| 21 |
This file is the main URL config for a Django website including Django-Mailman. |
| 22 |
""" |
| 23 |
|
| 24 |
|
| 25 |
from django.conf.urls import include |
| 26 |
from django.urls import re_path |
| 27 |
|
| 28 |
|
| 29 |
urlpatterns = [ |
| 30 |
re_path(r'', include('django_mailman3.urls')), |
| 31 |
re_path(r'^accounts/', include('allauth.urls')), |
| 32 |
re_path(r'', include('django.contrib.auth.urls')), |
| 33 |
] |