move registration sms to view from signals and fix include User verified
attribute 🐛
This commit is contained in:
+1
-1
@@ -159,7 +159,7 @@ class UserSerializer(serializers.ModelSerializer):
|
||||
extra_kwargs = {"password": {"write_only": True, "min_length": 5}}
|
||||
|
||||
def create(self, validated_data):
|
||||
return User.objects.create_user(**validated_data)
|
||||
return User.objects.create_user(**validated_data) #type: ignore
|
||||
|
||||
|
||||
class AuthSerializer(serializers.Serializer):
|
||||
|
||||
Reference in New Issue
Block a user