Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It depends on the signature of User.objects.create_superuser #20

Open
tolomea opened this issue Sep 5, 2020 · 1 comment
Open

It depends on the signature of User.objects.create_superuser #20

tolomea opened this issue Sep 5, 2020 · 1 comment

Comments

@tolomea
Copy link

tolomea commented Sep 5, 2020

This is awkward if you have overridden user to remove the need for usernames which is a relatively common thing to do.

It would be much easier to deal with if all the args were passed to create_superuser as keyword args as it's typical to have a **extra_args argument on create_superuser.

@tolomea
Copy link
Author

tolomea commented Sep 5, 2020

Incidentally I'm mostly here fixing a compatibility issue with https://github.com/tolomea/django-data-browser but it did find a couple of mistakes in the Admins on one of my projects, so thank you for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant