You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
515 B
14 lines
515 B
7 years ago
|
from django.conf.urls import url
|
||
|
|
||
|
from . import views as domains_views
|
||
|
|
||
|
urlpatterns = [
|
||
|
url(r'^$', domains_views.overview, name='overview'),
|
||
|
|
||
|
url(r'domain/create/$', domains_views.DomainCreate.as_view(), name='domain-create'),
|
||
|
url(r'show/(?P<domain>[a-z0-9.-]+)/$', domains_views.DomainDetail, name='domain-show'),
|
||
|
|
||
|
url(r'nameserver/create/$', domains_views.NameserverCreate.as_view(), name='nameserver-create'),
|
||
|
url(r'nameserver/show/(?P<pk>\d+)/$', domains_views.NameserverDetail, name='nameserver-show'),
|
||
|
]
|