1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/docs/ref
Loïc Bistuer ed0ff913c6 Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models' default and base managers.
This deprecates use_for_related_fields.

Old API:

class CustomManager(models.Model):
    use_for_related_fields = True

class Model(models.Model):
    custom_manager = CustomManager()

New API:

class Model(models.Model):
    custom_manager = CustomManager()

    class Meta:
        base_manager_name = 'custom_manager'

Refs #20932, #25897.

Thanks Carl Meyer for the guidance throughout this work.
Thanks Tim Graham for writing the docs.
2016-05-17 12:07:22 +07:00
..
class-based-views Fixed #26376 -- Clarifed meaning of 'search' in TemplateResponseMixin.get_template_names() docs. 2016-03-21 08:09:13 -04:00
contrib Fixed #21379 -- Created auth-specific username validators 2016-05-16 19:37:57 +02:00
files Fixed #26508 -- Clarified docs for various FieldFile methods. 2016-05-07 12:16:42 -04:00
forms Refs #8898 -- Documented requirement to use SplitDateTimeField with SplitDateTimeWidget. 2016-05-07 20:01:15 -04:00
models Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models' default and base managers. 2016-05-17 12:07:22 +07:00
templates Fixed #24046 -- Deprecated the "escape" half of utils.safestring. 2016-05-10 12:46:47 -04:00
applications.txt
checks.txt Refs #25847 -- Added system check for UserModel.is_anonymous/is_authenticated methods. 2016-05-06 08:56:06 -04:00
clickjacking.txt
csrf.txt Fixed #26567 -- Updated references to obsolete RFC2616. 2016-05-03 11:14:40 -04:00
databases.txt Fixed #26554 -- Updated docs URLs to readthedocs.io 2016-04-28 10:09:57 -04:00
django-admin.txt Added --noinput in migrate commmand's docs. 2016-05-03 09:43:16 -04:00
exceptions.txt Fixed #21231 -- Enforced a max size for GET/POST values read into memory. 2016-05-12 10:17:52 -04:00
index.txt
middleware.txt
migration-operations.txt
request-response.txt Updated ECMAScript link in docs/ref/request-response.txt 2016-05-12 20:06:34 -04:00
schema-editor.txt
settings.txt Fixed #21231 -- Enforced a max size for GET/POST values read into memory. 2016-05-12 10:17:52 -04:00
signals.txt Fixed #24100 -- Made the migration signals dispatch its plan and apps. 2016-05-15 19:51:15 -04:00
template-response.txt Fixed typo in docs/ref/template-response.txt. 2016-04-18 07:50:13 -04:00
unicode.txt
urlresolvers.txt
urls.txt
utils.txt Refs #26021 -- Used hanging indentation in some doc examples. 2016-05-14 19:06:31 -04:00
validators.txt
views.txt Fixed #26567 -- Updated references to obsolete RFC2616. 2016-05-03 11:14:40 -04:00