django/docs/topics
Shai Berger 72ebe85a26 Fixed #27910 -- Added enumeration helpers for use in Field.choices.
These classes can serve as a base class for user enums, supporting
translatable human-readable names, or names automatically inferred
from the enum member name.

Additional properties make it easy to access the list of names, values
and display labels.

Thanks to the following for ideas and reviews:

Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger.

Co-authored-by: Shai Berger <shai@platonix.com>
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2019-09-04 14:42:49 +02:00
..
_images Optimise the rest of the PNGs in docs 2015-05-29 15:22:40 +10:00
auth Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods. 2019-08-29 19:32:12 +02:00
class-based-views Fixed #30648 -- Removed unnecessary overriding get_context_data() from mixins with CBVs docs. 2019-07-18 18:40:40 +02:00
db Fixed #27910 -- Added enumeration helpers for use in Field.choices. 2019-09-04 14:42:49 +02:00
forms Fixed #30661 -- Added models.SmallAutoField. 2019-08-02 11:39:01 +02:00
http Fixed typo in docs/topics/http/sessions.txt. 2019-07-23 15:10:58 +02:00
i18n Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0. 2019-06-03 14:08:51 +02:00
testing Fixed broken links and redirects in documentation. 2019-08-21 10:57:24 +02:00
cache.txt Removed versionadded/changed annotations for 2.1. 2019-01-17 10:50:25 -05:00
checks.txt Refs #23919 -- Replaced super(ClassName, self) with super() in docs. 2017-01-25 11:53:05 -05:00
conditional-view-processing.txt Used auto-numbered lists in documentation. 2018-11-15 13:54:28 -05:00
email.txt Fixed an example of email with display name in EmailMessage.from_email. 2019-06-13 16:22:15 +02:00
external-packages.txt Fixed #29334 -- Updated pypi.python.org URLs to pypi.org. 2018-04-17 20:24:27 -04:00
files.txt Fixed #30695 -- Used relative path in default_storage docs example. 2019-08-20 12:01:10 +02:00
index.txt Fixed #28139 -- Added another level of headings in the topics index. 2017-05-01 08:53:54 -04:00
install.txt Refs #29548 -- Updated docs for MariaDB support. 2019-05-27 19:59:49 +02:00
logging.txt Fixed #29714 -- Allowed using ExceptionReporter subclass with AdminEmailHandler. 2019-09-04 08:40:46 +02:00
migrations.txt Fixed #30184 -- Removed ellipsis characters from shell output strings. 2019-02-13 13:59:44 -05:00
pagination.txt Fixed #28581 -- Moved django.core.paginator documentation to API Reference. 2019-07-04 11:04:39 +02:00
performance.txt Fixed #28606 -- Deprecated CachedStaticFilesStorage. 2018-10-27 11:58:29 -04:00
security.txt Updated OWASP Top 10 link to the latest version. 2018-12-27 09:23:40 -05:00
serialization.txt Changed tuple Mate.unique_together/permissions to lists in docs. 2019-04-24 10:06:00 +02:00
settings.txt Refs #29877 -- Made diveinto.org URLs HTTPS. 2018-10-23 15:03:00 +02:00
signals.txt Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-06-26 10:30:31 -04:00
signing.txt Fixed #26124 -- Added missing code formatting to docs headers. 2016-02-01 10:42:05 -05:00
templates.txt Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, comments and hints. 2019-04-18 14:41:15 +02:00