# 63 Refactoring

* refactors django User model to custom User model to provide further attributes and methods directly on the user model
This commit is contained in:
2022-01-12 12:56:22 +01:00
parent 37fffd639f
commit 02970b19b4
32 changed files with 174 additions and 136 deletions

View File

@@ -7,7 +7,7 @@ Created on: 02.12.20
"""
from dal import autocomplete
from django import forms
from django.contrib.auth.models import User
from user.models import User
from django.db import transaction
from django.urls import reverse, reverse_lazy
from django.utils.translation import gettext_lazy as _

View File

@@ -6,7 +6,7 @@ Created on: 27.09.21
"""
from dal import autocomplete
from django.contrib.auth.models import User
from user.models import User
from django.db import transaction
from django import forms
from django.urls import reverse

View File

@@ -8,7 +8,7 @@ Created on: 15.11.21
import shutil
from django.contrib import messages
from django.contrib.auth.models import User
from user.models import User
from django.db import models, transaction
from django.db.models import QuerySet
from django.http import HttpRequest