I am trying to dump my database (sqlite3) into a json file for a device, but I have an unmanaged model that causes a no such table error (obviously!), Since you dumpdat with these types of models in db?
Model:
from django.db import models class Backup(models.Model): """ This class is lazily recycled between various forms that ask the user to provide a path to some data. """ dbloc = models.CharField( max_length = 255 ) class Meta: app_label = 'myApp' db_table = 'backup' managed = False
Error:
CommandError: Unable to serialize database: no such table: backup
source share