Restore usage of upstream django-celery package. Purge periodic tasks before dumping the database.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -64,6 +64,8 @@ class Command(management.BaseCommand):
|
||||
)
|
||||
)
|
||||
|
||||
management.call_command('purgeperiodictasks')
|
||||
|
||||
management.call_command(
|
||||
'dumpdata', all=True, database=options['from'],
|
||||
natural_primary=True, natural_foreign=True,
|
||||
|
||||
Reference in New Issue
Block a user