Je suis en train de faire des validations personnalisées sur des objets de mon projet dans l'administration de Django. Pour cela j'ai créé un ModelForm, mais je ne sais pas comment accéder à l'objet id en cours de modification dans l'administration de Django.
Pourriez-vous m'aider. Merci d'avance.
Hello
Currently I do customized validations on objects of my project in the Django administration. For that, I created a ModelForm but I do not know how to get the object id currently in modification in Django administration.
Could you help me. Thanks in advance.
Serge Alard
-- 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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aceba62e-5578-435f-9ae3-924f446825b0n%40googlegroups.com.
No comments:
Post a Comment