text: import cms
  from django.conf import settings
  from django.conf.urls import include, url, patterns
  from django.conf.urls.i18n import i18n_patterns
  from django.conf.urls.static import static
  from django.contrib import admin
  from django.views.generic.base import RedirectView
  
  urlpatterns = patterns('',
      url(r'^$', RedirectView.as_view(url='/en/', permanent=True), name='index'),
  )
  
  urlpatterns += i18n_patterns('',
      url(r'^admin/', include(admin.site.urls)),
      url(r'^', include(cms.urls)),
  ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  