Skip to content

Admin Panel not functional

Summary

The transition from the standard Django User model to our custom UserAccount broke the Admin panel. It is not possible to add more than one user via the admin panel, since there is no option to specify a username.

Steps to reproduce

Log into Admin Panel via localhost:8000/admin with a superuser account. Go to "User accounts" then "Add user account"

What is the current bug behavior?

It's not possible to specify a username during user creation via the admin panel.

What is the expected correct behavior?

To be able to specify a username and other relevant information.

Possible fixes

Change admin.py to accommodate new UserAccount model.