Replace slugfield validation for User username in Admin form with a CharField
My problem was that I needed user names with fullstops in them (eg dodgy.ville), but the slugfield on the admin form was rejecting them. This small snippet overrides the validation field on the admin form, To use it: place it in your admin.py
- admin
- slugs
- user