I am taking it that there is more than one "school"? If so, surely it's is just a many-to-many relationship.

On 27 Nov 2023, at 09:33, Okkert Joubert wrote:

Good morning all,

I made a custom user model for a school, it is currently working with djoser authentication, now what I want to add is for the school to add users, so my School model is a foreignkey in SchoolUser is this possible firstly and secondly can I add the djoser authentication to the SchoolUser model as well

--
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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/ d/msgid/django-users/2754d7b3-a54a-40d6-9cab-50c0a2dbb812n% 40googlegroups.com.

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/650A06A2-C854-4361-9BF3-5CCDF636F2D0%40indx.co.uk.

Reply via email to