Commit 1b5de993 authored by Daniel STAN's avatar Daniel STAN

cablage: proprifie urls.py

parent a0e4fe59
......@@ -5,6 +5,5 @@ import views
urlpatterns = patterns('',
url('^$', views.afficher, name='afficher'),
url('rechercher/$', views.rechercher, name='rechercher'),
url('rechercher/(?P<objet>[^/]*)/$', views.rechercher)
url('rechercher/(?P<objet>[^/]*)?/?$', views.rechercher, name="rechercher"),
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment