#1609 closed defect (invalid)
Typo in db/models/query.py
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | magic-removal |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Typo at line 260 of db/models/query.py :
- def values(self, *fields): + def values(self, fields):
Attachments (1)
Change History (4)
by , 20 years ago
| Attachment: | query_typo.diff added |
|---|
comment:1 by , 20 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
That's not a typo. It designates that an arbitrary number of positional arguments are allowed.
comment:2 by , 20 years ago
hum ok sorry about that.. so the syntax has changed in the magic branch,
xxx.values('id',) instead of xx.get_values(fields=id) ?
Note:
See TracTickets
for help on using tickets.
Simple typo patch