forked from DGNum/gestioCOF
fix links
This commit is contained in:
parent
d1456d7c68
commit
173c5a840b
|
@ -436,7 +436,7 @@ def buy_revente(request, spectacle_id):
|
||||||
if reventes.filter(seller=participant).exists():
|
if reventes.filter(seller=participant).exists():
|
||||||
revente = reventes.filter(seller=participant)[0]
|
revente = reventes.filter(seller=participant)[0]
|
||||||
revente.delete()
|
revente.delete()
|
||||||
return HttpResponseRedirect(reverse("bda-liste-revente",
|
return HttpResponseRedirect(reverse("bda-revente-shotgun",
|
||||||
args=[tirage.id]))
|
args=[tirage.id]))
|
||||||
reventes_shotgun = []
|
reventes_shotgun = []
|
||||||
for revente in reventes.all():
|
for revente in reventes.all():
|
||||||
|
@ -489,7 +489,7 @@ def revente_shotgun(request, tirage_id):
|
||||||
spectacle.revente_count = revente_count
|
spectacle.revente_count = revente_count
|
||||||
shotgun.append(spectacle)
|
shotgun.append(spectacle)
|
||||||
|
|
||||||
return render(request, "revente-shotgun.html",
|
return render(request, "bda-shotgun.html",
|
||||||
{"shotgun": shotgun})
|
{"shotgun": shotgun})
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue