Tuesday, September 29, 2020

Re: Add user to Group after purchase

You need to use a "post save" signal; see:
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 django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/617d821c-adf7-464f-89ee-2985f089ce0fn%40googlegroups.com.

No comments:

Post a Comment