Merge pull request #612 from pcoder/bugifix/cms_redirect_for_multitenant_urls_also
bugfix/Redirect multi-tenant urls to /cms also
This commit is contained in:
commit
56f6c87fab
1 changed files with 2 additions and 0 deletions
|
@ -3,10 +3,12 @@ from django.conf.urls import include, url
|
|||
from django.conf.urls.i18n import i18n_patterns
|
||||
from django.contrib import admin
|
||||
from django.views import static as static_view
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
urlpatterns = i18n_patterns(
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^cms/', include('cms.urls')),
|
||||
url(r'^$', RedirectView.as_view(url='/cms')),
|
||||
)
|
||||
|
||||
urlpatterns += [
|
||||
|
|
Loading…
Reference in a new issue