django-any-urlfield
latest
  • Installation
  • API documentation
  • Changelog
django-any-urlfield
  • Docs »
  • Welcome to django-any-urlfield’s documentation!
  • Edit on GitHub

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

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

Relevant public classes:

  • Model fields:
  • AnyUrlField: allow users to choose either a model or external link as URL value
  • Form widget rendering:
  • HorizontalRadioFieldRenderer
  • SimpleRawIdWidget

Contents¶

  • Installation
    • Usage
  • API documentation
    • any_urlfield.forms
    • any_urlfield.models
  • Changelog
    • Verseion 2.6.1 (2018-08-28)
    • Version 2.6 (2018-08-27)
    • Version 2.5.1 (2018-08-23)
    • Version 2.5 (2018-08-21)
    • Version 2.4.2 (2017-07-31)
    • Version 2.4.1 (2017-05-05)
    • Version 2.4 (2017-05-01)
    • Version 2.3 (2017-02-03)
    • Version 2.2.1 (2016-02-26)
    • Version 2.2 (2015-12-30)
    • Version 2.1.1 (2015-04-15)
    • Version 2.1 (2015-04-10)
    • Version 2.0.4 (2014-12-30)
    • Version 2.0.3 (2014-10-30)
    • Version 2.0.2 (2014-10-30)
    • Version 2.0.1 (2014-09-15)
    • Version 2.0 (2014-08-15)
    • Version 1.0.12 (2014-02-24)
    • Version 1.0.11 (2014-02-20)
    • Version 1.0.10 (2013-12-12)
    • Version 1.0.9 (2013-10-15)
    • Version 1.0.8 (2013-09-20)
    • Version 1.0.7 (2013-05-28)
    • Version 1.0.5 (2013-05-07)
    • Version 1.0.4 (2013-05-02)
    • Version 1.0.3 (2013-04-24)
    • Version 1.0.2 (2013-01-24)
    • Version 1.0.1 (2012-12-27)
    • Version 1.0.0 (2012-12-27)

Indices and tables¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 2012-2018, Diederik van der Boor. Revision 8d7d36c8.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.