Copy the default django patterns rather than modifying them
This prevents an ever-growing list of urls in the case that
getDjangoURLPatterns is called multiple times.
Patch by: Sverre Rabbelier
from django.conf.urls.defaults import *urlpatterns = patterns('', (r'^setlang/$', 'django.views.i18n.set_language'),)