urls: added django-cms urls to project urls.py

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-05-20 23:30:03 -06:00
parent d8cbc04248
commit 7b8fe87238

View file

@ -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)