2020-04-19 21:28:06 +02:00
|
|
|
from django.urls import path
|
|
|
|
|
2020-04-19 22:19:12 +02:00
|
|
|
from .views import ExtraDNSNameCreateView, ExtraDNSNameDeleteView, ExtraDNSNameEditView, IPAddressDNSNameRecreateView
|
2020-04-19 21:28:06 +02:00
|
|
|
|
|
|
|
urlpatterns = [
|
2020-04-19 22:19:12 +02:00
|
|
|
path(route='ip-addresses/<int:ipaddress_pk>/recreate/',
|
|
|
|
view=IPAddressDNSNameRecreateView.as_view(),
|
|
|
|
name='ipaddress_dnsname_recreate'),
|
2020-04-19 21:28:06 +02:00
|
|
|
path(route='ip-addresses/<int:ipaddress_pk>/extra/create/',
|
|
|
|
view=ExtraDNSNameCreateView.as_view(),
|
|
|
|
name='extradnsname_create'),
|
|
|
|
path(route='ip-addresses/<int:ipaddress_pk>/extra/<int:pk>/edit/',
|
|
|
|
view=ExtraDNSNameEditView.as_view(),
|
|
|
|
name='extradnsname_edit'),
|
|
|
|
path(route='ip-addresses/<int:ipaddress_pk>/extra/<int:pk>/delete/',
|
|
|
|
view=ExtraDNSNameDeleteView.as_view(),
|
|
|
|
name='extradnsname_delete'),
|
|
|
|
]
|