diff --git a/accounts/forms.py b/accounts/forms.py index cfb9b89..fb89c49 100644 --- a/accounts/forms.py +++ b/accounts/forms.py @@ -1,11 +1,12 @@ from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.forms import AuthenticationForm -from .models import User from django import forms from django import forms -from django.contrib.auth.models import User +from django.contrib.auth import get_user_model + +User = get_user_model() class UserForm(forms.ModelForm):