#20920 closed Cleanup/optimization (fixed)

Create a reference doc for F() and Q()

Reported by: EvilDMP Owned by: EvilDMP
Component: Documentation Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by timo)

https://groups.google.com/d/msg/django-developers/L2j4sYViy5A/JMruW8ObqGkJ

Summary:

Main documentation of F() is in https://docs.djangoproject.com/en/dev/topics/db/queries.html#query-expressions/, but belongs in a new reference section /ref/models/queries.

This should also be the location for reference material for Q().

Discussion of different usage-cases of these query-related classes can remain where it is, in various different places, with links to and from the reference material.

Change History (7)

comment:1 Changed 19 months ago by EvilDMP

  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to EvilDMP
  • Patch needs improvement unset
  • Status changed from new to assigned

comment:2 Changed 19 months ago by timo

  • Description modified (diff)

comment:3 Changed 19 months ago by timo

  • Summary changed from Rationalise F() andf Q() documentation to Create a reference doc for F() and Q()
  • Triage Stage changed from Unreviewed to Accepted

comment:4 Changed 19 months ago by EvilDMP

Started work on this: https://github.com/django/django/pull/1476 - comments and corrections please

comment:5 Changed 18 months ago by timo

  • Has patch set
  • Version changed from 1.5 to master

comment:6 Changed 18 months ago by timo

  • Triage Stage changed from Accepted to Ready for checkin

Left a couple minor comments. Feel free to commit after making the suggested changes.

comment:7 Changed 18 months ago by Daniele Procida <daniele@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 263eecc583223652dd24f9189144b39d5dd5b62d:

Merge pull request #1544 from evildmp/ticket_20920_rebase

Fixed #20920 -- Consolidated F() and Q() documentation

Note: See TracTickets for help on using tickets.
Back to Top