fix recrutement loop
[auf_rh_dae.git] / project / recrutement / admin.py
index 160f5f9..81eb4e3 100644 (file)
@@ -86,7 +86,7 @@ class OffreEmploiAdminMixin(BaseAdmin):
 
     ### Formulaire
     def get_form(self, request, obj=None, **kwargs):
-        form = super(OffreEmploiAdmin, self).get_form(request, obj, **kwargs)
+        form = super(OffreEmploiAdminMixin, self).get_form(request, obj, **kwargs)
         employe = groups.get_employe_from_user(request.user)
         user_groupes = [g.name for g in request.user.groups.all()]