]> git.parisson.com Git - teleforma.git/commitdiff
fix conf
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Jun 2025 16:02:33 +0000 (18:02 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Mon, 9 Jun 2025 16:02:33 +0000 (18:02 +0200)
teleforma/views/core.py

index cbc4cbf0ad86bb7a4dd1a86c7d9ae5ad77e516c1..3f8b936bcf04f29e79b99145a67ad2e23e8358c2 100644 (file)
@@ -180,8 +180,8 @@ class HomeRedirectView(View):
             if conferences:
                 return HttpResponseRedirect(
                     reverse('teleforma-conference-detail',
-                    kwargs={'period_id': self.conferences[0].period.id,
-                    'pk':self.conferences[0].id}
+                    kwargs={'period_id': conferences[0].period.id,
+                    'pk': conferences[0].id}
                     )
                 )
             else: