#18672: Model hooks for custom sql on syncdb and flush
-------------------------------------+-------------------------------------
Reporter: niwi | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) | Resolution:
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 1
Has patch: 1 | Patch needs improvement: 0
Needs tests: 1 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by akaariai):
* stage: Design decision needed => Accepted
Comment:
I do think having a better way to install custom SQL is needed. For
example if you need some views for your database the current ways of
running the SQL is really lacking.
However the right solution is likely to wait for schema migrations, they
could offer a much better solution than what hooks can offer. I am marking
this as accepted in the meaning that a better way for installing custom
SQL is needed. If the model hooks are the right way needs still more
discussion.
--
Ticket URL: <https://code.djangoproject.com/ticket/18672#comment:3>
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].
For more options, visit https://groups.google.com/groups/opt_out.