diff --git a/bda/views.py b/bda/views.py index 39a6e760..f4495f55 100644 --- a/bda/views.py +++ b/bda/views.py @@ -314,7 +314,7 @@ class SpectacleListView(ListView): template_name = 'spectacle_list.html' def get_queryset(self): self.tirage = get_object_or_404(Tirage, id=self.kwargs['tirage_id']) - categories = self.tirage.spectacle_set + categories = self.tirage.spectacle_set.all() return categories def get_context_data(self, **kwargs): context = super(SpectacleListView, self).get_context_data(**kwargs) diff --git a/cof/urls.py b/cof/urls.py index 0e21c428..b9628d0f 100644 --- a/cof/urls.py +++ b/cof/urls.py @@ -39,7 +39,8 @@ urlpatterns = patterns('', url(r'^outsider/password-change$', 'django.contrib.auth.views.password_change'), url(r'^outsider/password-change-done$', - 'django.contrib.auth.views.password_change_done'), + 'django.contrib.auth.views.password_change_done', + name='password_change_done'), # Inscription d'un nouveau membre url(r'^registration$', 'gestioncof.views.registration'), url(r'^registration/clipper/(?P[\w-]+)$',