Added Login and Signup Endpoints within Django

This commit is contained in:
2024-03-25 14:33:16 -04:00
parent 57e2da94ff
commit a92522f030
20 changed files with 539 additions and 0 deletions

7
backend/api/models.py Normal file
View File

@@ -0,0 +1,7 @@
from django.db import models
from django.contrib.auth.models import AbstractUser
from django.db import models
class PeerUser(AbstractUser):
ip_address = models.GenericIPAddressField(blank=True, null=True)