Thank you so much, for this reply that solves my problem :) Le lundi 18 février 2019 16:15:05 UTC+1, abdouramane mahamane a écrit : > > I'm trying to show in one template .html multiple results of my views.py > class. > But when i add an other {%block content2 %} in my base.html, i have an > error. > Because i have the same url > path('partenaire/', views.OffrePListView.as_view(), name='offreListP'), > path('partenaire/', views.BaseViewP.as_view(), name='showP'), > > now i have this > path('partenaire/', views.OffrePListView.as_view(), name='offreListP'), > path('partenaire/show', views.BaseViewP.as_view(), name='showP'), > > I want to show many things in one template by using many "contexts". > > thanks >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fe10dc32-4e65-47da-87e9-b3162fe7e1b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.