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

django: allow '/' character in usernames #233

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

lzaoral
Copy link
Contributor

@lzaoral lzaoral commented Nov 15, 2023

All worker usernames use the worker/hostname format which did not match the regular expression in the corresponding field validator. Therefore, worker user profiles could not be directly edited in the Django Admin.

Resolves: openscanhub/openscanhub#185

Copy link
Contributor

@kdudka kdudka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as expected. Thanks!

kobo/django/auth/models.py Outdated Show resolved Hide resolved
All worker usernames use the `worker/hostname` format which did not match
the regular expression in the corresponding field validator.  Therefore,
worker user profiles could not be directly edited in the Django Admin.

Resolves: openscanhub/openscanhub#185
@lzaoral lzaoral requested a review from rohanpm November 16, 2023 11:39
@rohanpm rohanpm merged commit 2ba89f2 into release-engineering:master Nov 16, 2023
15 checks passed
@lzaoral lzaoral deleted the allow-slash-username branch November 21, 2023 08:53
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

Successfully merging this pull request may close these issues.

hub: user with a name containing the / character cannot be modified in Django Admin
3 participants