root/urls_local.py.template

Revision 1333:aedc37419ac5, 484 bytes (checked in by Alexander Solovyov <[email protected]…>, 6 months ago)

cleanup all imports

Line  
1 # -*- mode: python -*-
2 # URL overriding facility. If you want to override any url, copy this file to
3 # urls_local.py and add your urls
4
5 # If you will want to remove them completely (by deleting file, not
6 # commenting) - don't forget to delete urls_local.pyc!
7
8 from django.conf.urls.defaults import *
9
10 urlpatterns = patterns(
11     '',
12     # example of URL override usage
13     url('^$', 'django.views.generic.simple.redirect_to', {'url': '/about/'},
14         name='redirect_to_about'),
15 )
16
Note: See TracBrowser for help on using the browser.