Hotfix : enregistrer et continuer à modifier provoquait une déduplication des stages
This commit is contained in:
parent
367dead150
commit
623c6a32d0
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ def manage_stage(request, pk=None):
|
|||
avis_lieu_formset.save()
|
||||
print request.POST
|
||||
if "continuer" in request.POST:
|
||||
pass
|
||||
if pk is None:
|
||||
return redirect(reverse('avisstage:stage_edit',kwargs={'pk':stage.id}))
|
||||
else:
|
||||
return redirect(reverse('avisstage:stage',
|
||||
kwargs={'pk':stage.id}))
|
||||
|
|
Loading…
Reference in a new issue