mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 17:16:34 +03:00
remove unused serializers.py form registration app
This commit is contained in:
parent
61cafa3cb6
commit
34d3627c7c
|
@ -1,17 +0,0 @@
|
|||
from rest_framework import serializers
|
||||
from django.contrib.auth import get_user_model
|
||||
|
||||
|
||||
class UserRegistrationSerializer(serializers.ModelSerializer):
|
||||
|
||||
"""
|
||||
Serializer for Django User model and most of its fields.
|
||||
"""
|
||||
|
||||
class Meta:
|
||||
model = get_user_model()
|
||||
fields = ('username', 'password', 'email', 'first_name', 'last_name')
|
||||
|
||||
|
||||
class VerifyEmailSerializer(serializers.Serializer):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user