The any_urlfield module provides an improved URL selector that supports both URLs to internal models and external URLs.
This addresses is a common challenge in CMS interfaces; where providing a URLField makes it hard to enter internal URLs, while providing a ModelChoiceField makes it too inflexible.
Relevant public classes:
- AnyUrlField: allow users to choose either a model or external link as URL value
- HorizontalRadioFieldRenderer
- SimpleRawIdWidget