urls.py 690 B

1234567891011121314151617
  1. from django.conf.urls import patterns, include, url
  2. from django.views.generic import TemplateView
  3. from django.contrib import admin
  4. admin.autodiscover()
  5. urlpatterns = patterns('',
  6. # Examples:
  7. # url(r'^$', 'bototest.views.home', name='home'),
  8. # url(r'^blog/', include('blog.urls')),
  9. url(r'^$', TemplateView.as_view(template_name="home.html"), name="home"),
  10. url(r'^home/', TemplateView.as_view(template_name="home.html"), name="home"),
  11. url(r'^upload/getcsv/$', 'upload.views.getcsv', name="getcsv"),
  12. url(r'^display/', include('display.urls')),
  13. url(r'^admin/', include(admin.site.urls)),
  14. url(r'^accounts/', include('registration.backends.default.urls')),
  15. )