mirror of
https://github.com/AmanTahiliani/PeerNotes.git
synced 2026-08-07 19:56:19 -04:00
Added Login and Signup Endpoints within Django
This commit is contained in:
7
backend/api/models.py
Normal file
7
backend/api/models.py
Normal 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)
|
||||
Reference in New Issue
Block a user