0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01: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
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
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
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
performance.txt
security.txt
serialization.txt
settings.txt
signals.txt
signing.txt
templates.txt