feat(API): change to jwt authentication.

This commit is contained in:
2026-02-14 15:12:32 -05:00
parent 4812160ea2
commit 7a9034943a
18 changed files with 130 additions and 82 deletions

View File

@@ -0,0 +1,8 @@
from django.contrib.auth.models import User
from rest_framework import serializers
class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ('id', 'username', 'email', 'first_name', 'last_name')