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

Fix running Djangos native createsuperuser #554

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Conversation

mbarton
Copy link
Member

@mbarton mbarton commented Feb 5, 2025

Part of #539. I found I couldn't create myself as the first superuser because we have overridden create_superuser but not allowed some of the arguments that the native Django call passes. Rather than pass **kwargs I have whackamoled each argument as it returned an error. This might break again in future versions of Django, but we are unlikely to use the native command apart from when we create brand new environments.

@mbarton mbarton self-assigned this Feb 5, 2025
@mbarton mbarton merged commit 553433a into live Feb 5, 2025
1 check passed
@mbarton mbarton deleted the mbarton/create-superuser branch February 5, 2025 16:31
@mbarton
Copy link
Member Author

mbarton commented Feb 5, 2025

Seen on STAGING (merged by @mbarton 6 minutes and 38 seconds ago) Please check your changes!

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

Successfully merging this pull request may close these issues.

1 participant