fixed user

This commit is contained in:
Alexander Karpov 2023-03-15 22:38:24 +03:00
parent 5fa8800dbe
commit 4bdd85228f
2 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,17 @@
# Generated by Django 4.1.7 on 2023-03-15 19:38
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("users", "0003_alter_user_short_link"),
]
operations = [
migrations.RemoveField(
model_name="user",
name="short_link",
),
]

View File

@ -4,10 +4,9 @@
from django.utils.translation import gettext_lazy as _
from akarpov.common.models import BaseImageModel
from akarpov.tools.shortener.models import ShortLink
class User(AbstractUser, BaseImageModel, ShortLink):
class User(AbstractUser, BaseImageModel):
"""
Default custom user model for akarpov.
If adding fields that need to be filled at user signup,