Fabian Faessler abe8ee41ff Merge branch 'master' of github.com:asmaps/nsupdate.info
Conflicts:
	nsupdate/main/urls.py
2013-09-29 02:08:39 +02:00

15 lines
600 B
Python

from django.conf.urls import patterns, include, url
from main.views import HomeView, OverviewView, HostView, DeleteHostView
from api.views import MyIpView, DetectIpView, NicUpdateView
urlpatterns = patterns(
'',
url(r'^$', HomeView.as_view(), name="home"),
url(r'^overview/$', OverviewView.as_view(), name='overview'),
url(r'^host/(?P<pk>\d+)/$', HostView.as_view(), name='host_view'),
url(r'^host/(?P<pk>\d+)/delete/$', DeleteHostView.as_view(), name='delete_host'),
url(r'^myip$', MyIpView),
url(r'^detectip$', DetectIpView),
url(r'^nic/update$', NicUpdateView),
)