#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 , 10 years ago
Cc: | added |
---|---|
Has patch: | set |
Summary: | Example SQL in Func expressions docs referes to app_label instead of db_table → Example SQL in Func expressions docs refers to app_label instead of db_table |
Note:
See TracTickets
for help on using tickets.
Pull request https://github.com/django/django/pull/4832