mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-25 12:53:43 +03:00
fixed user
This commit is contained in:
parent
5fa8800dbe
commit
4bdd85228f
17
akarpov/users/migrations/0004_remove_user_short_link.py
Normal file
17
akarpov/users/migrations/0004_remove_user_short_link.py
Normal 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",
|
||||||
|
),
|
||||||
|
]
|
|
@ -4,10 +4,9 @@
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
from akarpov.common.models import BaseImageModel
|
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.
|
Default custom user model for akarpov.
|
||||||
If adding fields that need to be filled at user signup,
|
If adding fields that need to be filled at user signup,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user