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

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -