dnmapper/bgpdata/urls.py

18 lines
512 B
Python

from django.conf.urls import patterns, url, include
#from django.views.generic import RedirectView
#from api import ASResource, CrawlResource
#asResource = ASResource()
#crawlResource = CrawlResource()
urlpatterns = patterns('',
url(r'^$', 'bgpdata.views.overview'),
url(r'^([0-9]+)/$', 'bgpdata.views.showMap'),
#url(r'^api/crawl/(?P<crawlID>\d+)/asses/$', 'bgpdata.api.asses'),
#(r'^api/', include(asResource.urls)),
#(r'^api/', include(asResource.urls)),
#(r'^api/', include(crawlResource.urls)),
)