django - Trigger method on user creaton -


I would like to trigger a method when a user is created through the admin panel, but I can not say where I Can I do that? Any suggestions available?

Thank you!

If you do not have to restrict the trigger in the admin panel, you can use the JGSO signal ()

Otherwise, you can override the administrator's ModelAdmin.save_model to trigger your function,


Comments

Popular posts from this blog

Docker - Tomcat and PostgreSQL containers in same host - No Route to host -

Python Equivalent for matlab cart2pol and pol2cart -

java - Joda Time Interval Not returning what I expect -