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
Post a Comment