polymorphic_dumpdata management command functionality removed;
the regular Django dumpdata command now automatically works correctly for polymorphic models and all Django versions (this is handled by PolymorphicModelBase now). Testing for dumpdata has been added.
This commit is contained in:
@@ -20,7 +20,7 @@ class Command(NoArgsCommand):
|
||||
help = ""
|
||||
|
||||
def handle_noargs(self, **options):
|
||||
print 'polycmd - sqlite test db is stored in:',settings.DATABASE_NAME
|
||||
print 'polycmd - sqlite test db is stored in:',settings.SQLITE_DB_PATH
|
||||
print
|
||||
|
||||
"""
|
||||
|
||||
@@ -20,7 +20,7 @@ class Command(NoArgsCommand):
|
||||
help = ""
|
||||
|
||||
def handle_noargs(self, **options):
|
||||
#print 'polycmd - sqlite test db is stored in:',settings.SQLITE_DB_PATH
|
||||
print 'polycmd - sqlite test db is stored in:',settings.SQLITE_DB_PATH
|
||||
print
|
||||
|
||||
Project.objects.all().delete()
|
||||
|
||||
Reference in New Issue
Block a user