url structure fix ungleich

This commit is contained in:
Tomislav R 2016-04-24 01:15:58 +02:00
parent 74ca696bfc
commit c57db296aa
3 changed files with 3 additions and 5 deletions

View file

@ -26,8 +26,7 @@ urlpatterns += i18n_patterns('',
url(r'^digitalglarus/', include('digitalglarus.urls',
namespace="digitalglarus"),name='digitalglarus'),
url(r'^blog/',include('ungleich.urls',namespace='ungleich')),
url(r'^login/',include(membership_urls)),
url(r'^$',include('ungleich_page.urls',namespace='ungleich_page'),name="ungleich_page"),
url(r'^',include('ungleich_page.urls',namespace='ungleich_page'),name='ungleich_page'),
url(r'^', include('cms.urls')),
)

View file

@ -1,4 +1,4 @@
{% load static %}
{% load static meta%}
{% load i18n %}
<section id="contact">

View file

@ -2,8 +2,7 @@ from django.conf.urls import url
from .views import ContactView, LandingView
from django.utils.translation import ugettext_lazy as _
urlpatterns = [
url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
url(r'', LandingView.as_view(), name='landing'),
url(_(r'contact/$'), ContactView.as_view(), name='contact'),
]