8 lines
202 B
Python
Raw Normal View History

2013-09-28 11:39:57 +02:00
from django.conf.urls import patterns, include, url
from main.views import HomeView, MyIpView
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"),
url(r'^myip/', MyIpView)
2013-09-28 11:39:57 +02:00
)