#14666 closed (wontfix)
Ability to control the order the column in Models when mapping to the sql
Reported by: | ziangsong | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.2 |
Severity: | Keywords: | sprintdec2010 | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Suppose I have a base entity which derives all my subclasses, I want to put all columns from the base entity after the columns of the subclass when generate the SQL. But it seems that there is no way to do it.
Change History (2)
comment:1 by , 14 years ago
Component: | Uncategorized → Database layer (models, ORM) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 by , 14 years ago
Keywords: | sprintdec2010 added |
---|
Note:
See TracTickets
for help on using tickets.
It would be helpful to provide more context for this ticket. You don't say why controlling the order of columns in generated SQL might be desirable. Also, if there is an edge case where this is desirable, could it be handled by dropping into raw SQL (http://docs.djangoproject.com/en/dev/topics/db/sql/)?