Permalink
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (33 sloc) 1.14 KB

Welcome to django-any-urlfield's documentation!

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 :class:`~django.forms.URLField` makes it hard to enter internal URLs, while providing a :class:`~django.forms.ModelChoiceField` makes it too inflexible.

AnyUrlField, with external URL input.
AnyUrlField, with internal page input.

Relevant public classes:

  • Model fields:
  • Form widget rendering:

Contents

.. toctree::
   :maxdepth: 2

   installation
   api/index
   changelog


Indices and tables