1
0
mirror of https://github.com/django/django.git synced 2025-01-07 00:46:08 +00:00
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 Removed versionadded/changed annotations for 2.1. 2019-01-17 10:50:25 -05:00
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 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
security.txt
serialization.txt Changed tuple Mate.unique_together/permissions to lists in docs. 2019-04-24 10:06:00 +02:00
settings.txt
signals.txt
signing.txt
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