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

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -