#12997: Add Metadata Targets to QuerySet API Reference ------------------------------------+--------------------------------------- Reporter: dwillis | Owner: dwillis Status: reopened | Milestone: 1.2 Component: Documentation | Version: SVN Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 1 | ------------------------------------+--------------------------------------- Changes (by timo):
* status: closed => reopened * needs_better_patch: 0 => 1 * resolution: fixed => * stage: Ready for checkin => Accepted Comment: Looks like these methods are appearing in the django.db.models namespace rather than django.db.models.QuerySet. We need another currentmodule declaration (django.db.models.QuerySet) or else each target needs "QuerySet." prefix: {{{ .. method:: QuerySet.filter(**kwargs) }}} The patch in #11800 does the latter. With the current setup, a link would look like "django.db.models.defer" whereas I think they should look like "django.db.models.QuerySet.defer". -- Ticket URL: <http://code.djangoproject.com/ticket/12997#comment:7> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.