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:
Roberto Rosario
2018-09-01 03:41:34 -04:00
parent 427aad8277
commit 6baa63a989
3 changed files with 5 additions and 6 deletions

View File

@@ -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,

View File

@@ -5,8 +5,7 @@ celery==3.1.24
django-activity-stream==0.6.5
django-autoadmin==1.1.1
#django-celery==3.2.1 - Use fork below until patch https://github.com/celery/django-celery/pull/552 is accepted.
https://github.com/mayan-edms/django-celery/zipball/master#egg=django-celery
django-celery==3.2.1
django-colorful==1.2
django-cors-headers==2.2.0
django-downloadview==1.9

View File

@@ -62,6 +62,7 @@ PyYAML==3.13
celery==3.1.24
django-activity-stream==0.6.5
django-autoadmin==1.1.1
django-celery==3.2.1
django-colorful==1.2
django-cors-headers==2.2.0
django-downloadview==1.9
@@ -125,10 +126,7 @@ setup(
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Communications :: File Sharing',
],
description='Free Open Source Electronic Document Management System',
dependency_links=[
"https://github.com/mayan-edms/django-celery/zipball/master#egg=django-celery"
],
description=mayan.__description__,
include_package_data=True,
install_requires=install_requires,
license='Apache 2.0',