Tablas hechas

This commit is contained in:
2023-02-20 05:10:30 +01:00
parent 5747cd9213
commit 0573c4e99c
15 changed files with 141 additions and 16 deletions

View File

@@ -1,10 +1,4 @@
from django.contrib import admin
from authentication.models import User
@admin.register(User)
class UserAdmin(admin.ModelAdmin):
pass
# Register your models here.
admin.site.register(User)

View File

@@ -36,4 +36,4 @@ class User(AbstractUser):
REQUIRED_FIELDS = []
def __str__(self):
return f"<User {self.email}"
return f"<{self.email}>"