Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#24952 closed Uncategorized (fixed)

Example SQL in Func expressions docs refers to app_label instead of db_table

Reported by: Alasdair Nicol Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: alasdair@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the Func() expressions docs, the example SQL is given as

    SELECT
        ...
        LOWER("app_label"."field") as "field_lower"

I believe it should refer to db_table instead of app_label.

https://docs.djangoproject.com/en/dev/ref/models/expressions/#func-expressions

Change History (3)

comment:1 by Alasdair Nicol, 10 years ago

Cc: alasdair@… added
Has patch: set
Summary: Example SQL in Func expressions docs referes to app_label instead of db_tableExample SQL in Func expressions docs refers to app_label instead of db_table

comment:2 by Alasdair Nicol <alasdair@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 1f5b067:

Fixed #24952 -- Fixed example SQL in Func() expressions docs

comment:3 by Tim Graham <timograham@…>, 10 years ago

In a22a1b3e:

[1.8.x] Fixed #24952 -- Fixed example SQL in Func() expressions docs

Backport of 1f5b067710a6bc97848b1caff0e2a685c2489868 from master

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