django/docs/topics
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
auth Refs #21379 -- Normalized unicode username inputs 2016-05-16 19:38:02 +02:00
class-based-views Fixed typo in docs/topics/class-based-views/mixins.txt 2016-04-18 20:25:54 -04:00
db Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models' default and base managers. 2016-05-17 12:07:22 +07:00
forms Fixed #22383 -- Added support for HTML5 required attribute on required form fields. 2016-04-21 19:16:38 -04:00
http Refs #26052 -- Corrected a sentence for conditional_content_removal() removal. 2016-05-11 11:09:28 -04:00
i18n Fixed #26554 -- Updated docs URLs to readthedocs.io 2016-04-28 10:09:57 -04:00
testing Refs #26021 -- Used hanging indentation in some doc examples. 2016-05-14 19:06:31 -04:00
cache.txt Fixed #26566 -- Rewrote an incorrect Cache-Control example. 2016-05-07 10:49:47 -04:00
checks.txt Refs #26351 -- Added check hook to support database-related checks 2016-04-08 20:28:00 +02:00
conditional-view-processing.txt Fixed typo in docs/topics/conditional-view-processing.txt 2016-05-12 20:07:34 -04:00
email.txt
external-packages.txt Fixed #26554 -- Updated docs URLs to readthedocs.io 2016-04-28 10:09:57 -04:00
files.txt Fixed #26483 -- Updated docs.python.org links to use Intersphinx. 2016-05-08 18:07:43 -04:00
index.txt
install.txt Fixed #26554 -- Updated docs URLs to readthedocs.io 2016-04-28 10:09:57 -04:00
logging.txt Fixed #26483 -- Updated docs.python.org links to use Intersphinx. 2016-05-08 18:07:43 -04:00
migrations.txt
pagination.txt Refs #14131 -- Documented why paginating large QuerySets may be slow. 2016-04-06 11:06:38 -04:00
performance.txt
python3.txt Fixed #26483 -- Updated docs.python.org links to use Intersphinx. 2016-05-08 18:07:43 -04:00
security.txt Refs #26464 -- Added a link to OWASP Top 10 in security topic guide. 2016-04-09 07:49:40 -04:00
serialization.txt Fixed #26483 -- Updated docs.python.org links to use Intersphinx. 2016-05-08 18:07:43 -04:00
settings.txt Clarified that setting names must be uppercase. 2016-05-03 12:53:24 -04:00
signals.txt Fixed #26493 -- Documented how built-in signals are sent. 2016-04-13 07:48:18 -04:00
signing.txt
templates.txt