dnmapper/dnmapper/urls.py

15 lines
427 B
Python

from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.views.generic import RedirectView
import bgpdata.urls
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'dnmapper.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^$', RedirectView.as_view(url='/map/')),
url(r'^map/', include(bgpdata.urls)),
url(r'^admin/', include(admin.site.urls)),
)