URL_VALIDATOR_USER_AGENT is said to be deprecated, but has actually been removed
|Reported by:||m@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The docs (https://docs.djangoproject.com/en/dev/ref/settings/#url-validator-user-agent) say that URL_VALIDATOR_USER_AGENT has been deprecated, but it's actually been removed.
There's at least two instances where that caused trouble; it was mentioned once (https://docs.djangoproject.com/en/dev/ref/settings/#url-validator-user-agent) on the django-users mailing list. I stumbled upon it trying to setup django-oscar (http://oscarcommerce.com/), a shop solution for Django. It fails trying to import the setting.
My preferred way of fixing it would be a DeprecationMessage, but I assume due to the looming release deadline, an update to the docs is more appropriate.
Change History (5)
comment:1 Changed 2 years ago by m@…
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 2 years ago by Tim Graham <timograham@…>
- Resolution set to fixed
- Status changed from new to closed