PageRenderTime 41ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/regressiontests/templates/alternate_urls.py

https://code.google.com/p/mango-py/
Python | 13 lines | 9 code | 3 blank | 1 comment | 0 complexity | 663f24135ef82f60cf85a8c6da22ece9 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. # coding: utf-8
  2. from django.conf.urls.defaults import *
  3. from regressiontests.templates import views
  4. urlpatterns = patterns('',
  5. # View returning a template response
  6. (r'^template_response_view/$', views.template_response_view),
  7. # A view that can be hard to find...
  8. url(r'^snark/', views.snark, name='snark'),
  9. )