1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00
django/docs/ref
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
..
class-based-views Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline. 2019-01-17 10:50:25 -05:00
contrib Fixed #18763 -- Added ModelBackend/UserManager.with_perm() methods. 2019-08-29 19:32:12 +02:00
files Refs #30736 -- Added missing versionadded annotations for Storage.get_alternative_name(). 2019-08-31 07:19:19 +02:00
forms Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt. 2019-08-31 10:58:40 +02:00
models Fixed #27910 -- Added enumeration helpers for use in Field.choices. 2019-09-04 14:42:49 +02:00
templates Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes. 2019-07-01 11:39:31 +02:00
applications.txt Fixed typo in docs/ref/applications.txt. 2019-08-23 08:48:26 +02:00
checks.txt Fixed #30673 -- Relaxed system check for db_table collision when database routers are installed by turning the error into a warning. 2019-08-08 21:14:06 +02:00
clickjacking.txt
csrf.txt Fixed #30299 -- Removed jQuery dependency from getCookie() in CSRF docs. 2019-03-28 19:51:54 -04:00
databases.txt Refs #29548 -- Updated docs for MariaDB support. 2019-05-27 19:59:49 +02:00
django-admin.txt Fixed #30676 -- Added --pdb option to test runner. 2019-08-07 08:16:31 +02:00
exceptions.txt Fixed #30451 -- Added ASGI handler and coroutine-safety. 2019-06-20 12:29:43 +02:00
index.txt Fixed #28581 -- Moved django.core.paginator documentation to API Reference. 2019-07-04 11:04:39 +02:00
middleware.txt Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0. 2019-06-03 14:08:51 +02:00
migration-operations.txt Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs. 2019-08-11 15:39:48 +02:00
paginator.txt Fixed #28581 -- Moved django.core.paginator documentation to API Reference. 2019-07-04 11:04:39 +02:00
request-response.txt Fixed #30694 -- Documented FileResponse does not seek its file source. 2019-08-17 09:20:36 +02:00
schema-editor.txt Fixed #30670 -- Doc'd SchemaEditor.add/remove_constraint(). 2019-08-11 03:26:44 +02:00
settings.txt Refs #30426 -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True. 2019-08-18 13:17:49 +02:00
signals.txt Refs #30083 -- Added a warning about performing queries in pre/post_init receivers. 2019-07-19 16:06:05 +02:00
template-response.txt Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline. 2019-01-17 10:50:25 -05:00
unicode.txt Removed unnecessary /static from links to PostgreSQL docs. 2019-03-29 21:49:44 -04:00
urlresolvers.txt
urls.txt
utils.txt Fixed #30701 -- Updated patch_vary_headers() to handle an asterisk according to RFC 7231. 2019-08-16 15:25:42 +02:00
validators.txt
views.txt