I am using django-allauth for user registration and I would like to forbid users from creating specific usernames from a list[]. The list would include names from my url patterns, admin, root, profanity, etc.
What's the best way to do this?
Well this is built into django-allauth
ACCOUNT_USERNAME_BLACKLIST (=[])
A list of usernames that can’t be used by user.