mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Tests: - Functional tests pass. - Adding domain triggers domain_added signal. - Editing a domain triggers domain removed and domain added signals. - Deleting a domain trigger domain removed signal. - For each of the action, the status table shows updated information. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
20 lines
618 B
Python
20 lines
618 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
URLs for the dynamicdns module
|
|
"""
|
|
|
|
from django.urls import re_path
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
re_path(r'^sys/dynamicdns/$', views.DynamicDNSAppView.as_view(),
|
|
name='index'),
|
|
re_path(r'^sys/dynamicdns/domain/add/$', views.DomainView.as_view(),
|
|
name='domain-add'),
|
|
re_path(r'^sys/dynamicdns/domain/(?P<domain>[^/]+)/edit/$',
|
|
views.DomainView.as_view(), name='domain-edit'),
|
|
re_path(r'^sys/dynamicdns/domain/(?P<domain>[^/]+)/delete/$',
|
|
views.DomainDeleteView.as_view(), name='domain-delete'),
|
|
]
|