Remove django-fixture-magic, we're not using it. Let's get rid of it. (#2904)
This commit is contained in:
Родитель
6934e06fb7
Коммит
bf9ed5fdee
|
@ -3,7 +3,6 @@ from settings import * # noqa
|
|||
# To activate the Django debug toolbar.
|
||||
INSTALLED_APPS += (
|
||||
'debug_toolbar',
|
||||
'fixture_magic',
|
||||
)
|
||||
DEBUG_TOOLBAR_PATCH_SETTINGS = False # Prevent DDT from patching the settings.
|
||||
|
||||
|
|
|
@ -1207,25 +1207,6 @@ CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
|
|||
# a separate, shorter timeout for validation tasks.
|
||||
CELERYD_TASK_SOFT_TIME_LIMIT = 60 * 30
|
||||
|
||||
# Fixture Magic
|
||||
CUSTOM_DUMPS = {
|
||||
'addon': { # ./manage.py custom_dump addon id
|
||||
'primary': 'addons.addon', # This is our reference model.
|
||||
'dependents': [ # These are items we wish to dump.
|
||||
# Magic turns this into current_version.files.all()[0].
|
||||
'current_version.files.all.0',
|
||||
'current_version.apps.all.0',
|
||||
'addonuser_set.all.0',
|
||||
],
|
||||
'order': ('translations.translation',
|
||||
'files.platform', 'addons.addon',
|
||||
'versions.license', 'versions.version', 'files.file'),
|
||||
'excludes': {
|
||||
'addons.addon': ('_current_version',),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Hera (http://github.com/clouserw/hera)
|
||||
HERA = [{'USERNAME': '',
|
||||
'PASSWORD': '',
|
||||
|
|
Загрузка…
Ссылка в новой задаче