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
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
checks.txt
conditional-view-processing.txt
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
files.txt Fixed #30695 -- Used relative path in default_storage docs example. 2019-08-20 12:01:10 +02:00
index.txt
install.txt
logging.txt Fixed #29714 -- Allowed using ExceptionReporter subclass with AdminEmailHandler. 2019-09-04 08:40:46 +02:00
migrations.txt
pagination.txt Fixed #28581 -- Moved django.core.paginator documentation to API Reference. 2019-07-04 11:04:39 +02:00
performance.txt
security.txt
serialization.txt
settings.txt
signals.txt
signing.txt
templates.txt