Django-Nonrel: Multi-table inheritance is not supported by non-relational DBs -
i have meta class named mymodel.
i have 2 regular model classes named node , author. author inherits mymodel, , node not. (node , author work fine expected.)
i want change node inherits mymodel. when try change node inherits mymodel , following error:
 raise databaseerror("multi-table inheritance not " templatesyntaxerror: caught databaseerror while rendering: multi-table inheritance not supported non-relational dbs.  i deleted node objects database, still error. effectively, want delete node , re-implement it. how can database recognize node should inherit mymodel?
multi-table inheritance not supported django-nonrel.
if mymodel inherits django.db.models.model , node , author inherit mymodel, have multi table inheritance (even if mymodel has no fields).
you can avoid making mymodel abstract base class.
Comments
Post a Comment