15 lines
363 B
Python
15 lines
363 B
Python
from django.conf.urls import patterns, include, url
|
|
from main.views import (
|
|
HomeView, OverviewView,
|
|
)
|
|
from api.views import (
|
|
MyIpView, UpdateIpView
|
|
)
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', HomeView.as_view(), name="home"),
|
|
url(r'^overview/$', OverviewView, name='overview'),
|
|
url(r'^myip$', MyIpView),
|
|
url(r'^updateip$', UpdateIpView),
|
|
)
|