urls: added django-cms urls to project urls.py
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
1c95a518d9
commit
7a713041aa
1 changed files with 5 additions and 7 deletions
|
@ -1,11 +1,9 @@
|
|||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
|
||||
urlpatterns = [
|
||||
# Examples:
|
||||
# url(r'^$', 'dynamicweb.views.home', name='home'),
|
||||
# url(r'^blog/', include('blog.urls')),
|
||||
|
||||
urlpatterns = i18n_patterns('',
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^digital.glarus/', include('digital_glarus.urls', namespace="digital_glarus")),
|
||||
]
|
||||
url(r'^digital.glarus/', include('digital_glarus.urls',
|
||||
namespace="digital_glarus")),
|
||||
url(r'^', include('cms.urls')),
|
||||
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
|
Loading…
Reference in a new issue