2013-09-28 11:39:57 +02:00
|
|
|
from django.conf.urls import patterns, include, url
|
2013-09-28 16:46:33 +02:00
|
|
|
from main.views import (
|
2013-09-28 21:32:29 +02:00
|
|
|
HomeView, OverviewView,
|
2013-09-28 18:46:31 +02:00
|
|
|
)
|
|
|
|
from api.views import (
|
2013-09-28 19:01:40 +02:00
|
|
|
MyIpView, UpdateIpView
|
2013-09-28 16:46:33 +02:00
|
|
|
)
|
2013-09-28 11:39:57 +02:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2013-09-28 12:06:26 +02:00
|
|
|
url(r'^$', HomeView.as_view(), name="home"),
|
2013-09-28 21:32:29 +02:00
|
|
|
url(r'^overview/$', OverviewView, name='overview'),
|
2013-09-28 18:46:31 +02:00
|
|
|
url(r'^myip$', MyIpView),
|
2013-09-28 19:01:40 +02:00
|
|
|
url(r'^updateip$', UpdateIpView),
|
2013-09-28 11:39:57 +02:00
|
|
|
)
|