I have a register page in my django app and I am using djoser for the end
point to create and users etc, when I register with an email ending in .com
(e.g. gmail.com) it works but when I enter an email ending with .co.za it
does not work
--
You received this message because you are subscribed
x27;__all__'
>
> class SchoolSerializer(serializers.ModelSerializer):
> class Meta:
> model = School
> fields = '__all__'
>
> *********
> at the end
> python manage.py makemigrations
> python manage.py migrate
>
> and enjoy
>
> On Mon, Nov 27
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
3 matches
Mail list logo