Ticket #278 (closed enhancement: invalid)
Integrate with django-denorm
| Reported by: | elsdoerfer@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | commands | Version: | 0.6.2 |
| Keywords: | Cc: |
Description
I wonder if there is some clever way to integrate South with django-denorm, or maybe provide some kind of framework to enable django-denorm to integrate itself.
In particular, if I am adding a new denorm field, or change an existing one, startmigration could detect that change automatically, and include a call to "denorm_init" within the migration.
I've also posted an issue in the django-denorm tracker: http://github.com/initcrash/django-denorm/issues/#issue/2
Attachments
Change History
comment:2 Changed 4 years ago by elsdoerfer@…
FWIW, the current methods to extend introspection aren't sufficient for this (from all I can tell). It'd be necessary for custom fields to generate code within the actual migration (in forwards()/backwards()), in this case a call to django-denorm's "denorm_init" command.

There's two ways of doing this kind of integration; see ExtendingIntrospection. In django-denorm's case it has to be the south_field_triple method, since it can impersonate many different field types.
It's not something we're really responsible for, so I'm closing this.