#12805 closed (duplicate)
Raw method docs are misleading
Reported by: | vbabiy | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.2-beta |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
http://docs.djangoproject.com/en/dev/topics/db/sql/#django.db.models.Manager.raw
The first example show that the result Person.objects.raw('SELECT * from myapp_person') is a list of Person object but really it is a RawQuerySet.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
Patch that fixes the docs