X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/5697f27ac31fae9f78933cbaddf41bc41647ccc5..1b1b0cc229e3fa2dc626486974d16136d0640d45:/edumed/urls.py diff --git a/edumed/urls.py b/edumed/urls.py index b2dc8c1..26646bb 100644 --- a/edumed/urls.py +++ b/edumed/urls.py @@ -14,7 +14,7 @@ urlpatterns = patterns( # url(r'^info/(?P.*)$', flatpage, name="info"), # url(r'^olimpiada/$', lambda request: flatpage(request, 'turniej/'), name='olimpiada'), # url(r'^olimpiada/(?P.*)$', lambda request, url: flatpage(request, 'turniej/' + url), name='olimpiada'), - # url(r'^szukaj/', include('haystack.urls')), + url(r'^szukaj/', include('haystack.urls')), # url(r'^olimpiada-teaser/(?P.*)$', # lambda request, url: flatpage_with_template(request, 'turniej/' + url, 'olimpiada_teaser.html'), @@ -55,7 +55,7 @@ if 'django_cas' in settings.INSTALLED_APPS: urlpatterns += ( url(r'^(?P[^/]*/|)$', - lambda request, url: flatpage_with_template(request, 'turniej/' + url, 'olimpiada_teaser.html')), + lambda request, url: flatpage(request, 'turniej/' + url)), ) if settings.DEBUG: