diff --git a/akarpov/users/migrations/0004_remove_user_short_link.py b/akarpov/users/migrations/0004_remove_user_short_link.py new file mode 100644 index 0000000..49f1422 --- /dev/null +++ b/akarpov/users/migrations/0004_remove_user_short_link.py @@ -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", + ), + ] diff --git a/akarpov/users/models.py b/akarpov/users/models.py index 4b8eb3b..c36aeb5 100644 --- a/akarpov/users/models.py +++ b/akarpov/users/models.py @@ -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,