#891: customize table name prefixes
-------------------------------------+-------------------------------------
Reporter: aaronsw | Owner: adrian
Type: defect | Status: closed
Component: Database layer | Version:
(models, ORM) |
Severity: normal | Resolution: invalid
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by mcd-php):
I positively vote for this !
I created my project in ignorance of table naming convention, named it
like '''verbose_marketing_name_tld'''.
I generate my tables (and probably will generate my code) from XML, I have
'''lots''' of tables split into ''nested'' groups, and so sadly Django
does not support PostgreSQL schemas (I use schemas in data collection and
transformation staging database, otherwise i'd be lost in their numbers
and scroll off my mouse wheel). To make things more sad, my tables have
prefixes already.
So finally I end up with tables named like
'''verbose_marketing_name_tld_etla_somelongnoun_to_otherlongnoun''', and
it would be really handy to bend them into at least
'''vmnt_etla_somelongnoun_to_otherlongnoun''' by the single change, so
Don't Repeat Yourself.
Of course, it will take time to implement in framework and I must do my
task today, so I'll be forced to implement kludges and crutches, but this
feels so sad ...
--
Ticket URL: <https://code.djangoproject.com/ticket/891#comment:12>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.31a2f369b07baeec71a07b53f0a6ed52%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.