refactor!: Move to custom user model
This commit is contained in:
@@ -2,12 +2,14 @@ import uuid
|
||||
|
||||
from django.db import models
|
||||
from django.urls import reverse
|
||||
from django.contrib.auth.models import User
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from datetime import datetime
|
||||
from django.dispatch import receiver
|
||||
from django.db.models.signals import post_save
|
||||
from django.contrib.auth.models import Group
|
||||
from django.contrib.auth.models import AbstractUser
|
||||
|
||||
|
||||
|
||||
from fellchensammlung.tools import misc
|
||||
|
||||
@@ -285,6 +287,10 @@ Membership
|
||||
"""
|
||||
|
||||
|
||||
class User(AbstractUser):
|
||||
pass
|
||||
|
||||
|
||||
class Member(models.Model):
|
||||
"""
|
||||
Model that holds a user's profile, including the django user model
|
||||
|
Reference in New Issue
Block a user