auth serializer

This commit is contained in:
Timofey
2025-05-18 12:23:05 +03:00
parent 48d286cf55
commit be46e09aeb
9 changed files with 178 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
from rest_framework import serializers
from django.contrib.auth.models import User
from django.db.utils import IntegrityError
from django.contrib.auth.hashers import make_password