app/django/conf/urls/i18n.py
author Sverre Rabbelier <sverre@rabbelier.nl>
Sat, 06 Jun 2009 20:29:09 +0200
changeset 2404 4f87bab3c6b3
parent 54 03e267d67478
permissions -rw-r--r--
Remove getCallback indirection in modules Instead, assume that the imported module contains the Callback class that was previously returned by getCallback. This is done to prevent a circular import (caused by the __init__ importing a submodule).

from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^setlang/$', 'django.views.i18n.set_language'),
)