Using email as a username, the email is syncing with the username field. Override RegistrationView, RegistrationForm, added EmailBackend for AUTHENTICATION_BACKENDS. Removed unused Profile, UpdateProfileForm, ProfileInline (temporarily remain commented for the testing period). Using single form for 'Edit profile' page. Using only email or username columns/fields in admin panel (shown email where it's possible). Other minor changes (added 'Back' buttons to some forms.)
Using email as a username, the email is syncing with the username field. Override
RegistrationView
,RegistrationForm
, addedEmailBackend
forAUTHENTICATION_BACKENDS
. Removed unusedProfile
,UpdateProfileForm
,ProfileInline
(temporarily remain commented for the testing period). Using single form for 'Edit profile' page. Using onlyemail
orusername
columns/fields in admin panel (shownemail
where it's possible). Other minor changes (added 'Back' buttons to some forms.)