Debian Codegraph @

django_mailman3/lib/auth/fedora/urls.py

raw
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2012-2023 by the Free Software Foundation, Inc.
3 #
4 # This file is part of Django-Mailman.
5 #
6 # HyperKitty 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 # HyperKitty 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 # Django-Mailman. If not, see <http://www.gnu.org/licenses/>.
18 #
19 # Author: Aurelien Bompard <[email protected]>
20 #
21
22
23 from django.urls import re_path
24
25 from . import views
26
27
28 urlpatterns = [
29 re_path('^fedora/login/$', views.LoginView.as_view(),
30 name="fedora_login"),
31 re_path('^fedora/callback/$', views.CallbackView.as_view(),
32 name='fedora_callback'),
33 ]