Réparé l'agenda
authorEric Mc Sween <eric.mcsween@auf.org>
Wed, 23 May 2012 18:26:11 +0000 (14:26 -0400)
committerEric Mc Sween <eric.mcsween@auf.org>
Wed, 23 May 2012 18:26:11 +0000 (14:26 -0400)
auf_savoirs_en_partage/savoirs/views.py

index b404004..cee0ecf 100644 (file)
@@ -250,7 +250,7 @@ def evenement_index(request):
 
     else:
         today = datetime.date.today()
-        search_form = EvenementSearchForm(initial={'date_min': today})
+        search_form = EvenementSearchForm({'date_min': today})
         if search_form.is_valid():
             search = search_form.save(commit=False)
         else: