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:
1 parent
f05b854a54
commit
a87481b8b5
12 files changed
+101
-296
No files matched your search
@@ -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