You need to use a "post save" signal; see:
https://docs.djangoproject.com/en/3.1/ref/signals/#post-save

On Tuesday, 29 September 2020 at 06:23:19 UTC+2 Lightning Bit wrote:

> Hi All, 
>
> How would one add a user to a certain Backend group in the Django 
> Administration after a user purchases a particular item? I have played 
> around with tons of techniques but nothing is working. 
>
> Thanks!
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/617d821c-adf7-464f-89ee-2985f089ce0fn%40googlegroups.com.

Reply via email to