# 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

@@ -8,7 +8,7 @@ Created on: 16.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, Sum
from django.http import HttpRequest

View File

@@ -7,7 +7,7 @@ Created on: 16.11.21
"""
import shutil
from django.contrib.auth.models import User
from user.models import User
from django.core.exceptions import ValidationError
from django.core.validators import MinValueValidator
from django.db import models, transaction