django/docs/internals
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
..
_images
contributing Refs #26033 -- Added password hasher support for Argon2 v1.3. 2016-04-25 21:17:53 -04:00
deprecation.txt Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models' default and base managers. 2016-05-17 12:07:22 +07:00
git.txt Refs #25755 -- Unified a couple more spellings of 'website'. 2016-01-11 06:13:16 -05:00
howto-release-django.txt Fixed typos in docs. 2016-03-13 19:48:24 +01:00
index.txt Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
mailing-lists.txt Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
organization.txt Updated release process for new release schedule. 2015-06-25 11:36:17 -04:00
release-process.txt Minor fixes for release-process doc fix 2016-02-28 19:30:18 +02:00
roles.txt Added technical board for 1.10 release cycle. 2015-11-14 15:55:28 -05:00
security.txt Fixed #26020 -- Normalized header stylings in docs. 2016-01-22 12:12:17 -05:00
team.txt Fixed #26554 -- Updated docs URLs to readthedocs.io 2016-04-28 10:09:57 -04:00