Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 538, in get_or_create return self.get(**kwargs), False File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 408, in get self.model._meta.object_name __fake__.DoesNotExist: AnsibleDistribution matching query does not exist. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/django-admin", line 8, in sys.exit(execute_from_command_line()) File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line utility.execute() File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/test.py", line 23, in run_from_argv super().run_from_argv(argv) File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv self.execute(*args, **cmd_options) File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute output = self.handle(*args, **options) File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/test.py", line 53, in handle failures = test_runner.run_tests(test_labels) File "/usr/local/lib/python3.6/site-packages/django/test/runner.py", line 629, in run_tests old_config = self.setup_databases(aliases=databases) File "/usr/local/lib/python3.6/site-packages/django/test/runner.py", line 554, in setup_databases self.parallel, **kwargs File "/usr/local/lib/python3.6/site-packages/django/test/utils.py", line 174, in setup_databases serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True), File "/usr/local/lib/python3.6/site-packages/django/db/backends/base/creation.py", line 72, in create_test_db run_syncdb=True, File "/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py", line 148, in call_command return command.execute(*args, **defaults) File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 364, in execute output = self.handle(*args, **options) File "/usr/local/lib/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped res = handle_func(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 234, in handle fake_initial=fake_initial, File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial) File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial) File "/usr/local/lib/python3.6/site-packages/django/db/migrations/executor.py", line 245, in apply_migration state = migration.apply(state, schema_editor) File "/usr/local/lib/python3.6/site-packages/django/db/migrations/migration.py", line 124, in apply operation.database_forwards(self.app_label, schema_editor, old_state, project_state) File "/usr/local/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 190, in database_forwards self.code(from_state.apps, schema_editor) File "/usr/local/lib/python3.6/site-packages/galaxy_ng/app/migrations/0017_populate_repos_and_remotes.py", line 104, in populate_initial_repos "pulp_type": "ansible.ansible" File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 541, in get_or_create return self._create_object_from_params(kwargs, params) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 575, in _create_object_from_params obj = self.create(**params) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 420, in create obj = self.model(**kwargs) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 73, in __iter__ obj = model_cls.from_db(db, init_list, row[model_fields_start:model_fields_end]) File "/usr/local/lib/python3.6/site-packages/django/db/models/base.py", line 513, in from_db new = cls(*values) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 26, in __init__ self._initial_state = self._snapshot_state() File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 31, in _snapshot_state for watched_related_field in self._watched_fk_model_fields(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 178, in _watched_fk_model_fields for method in cls._potentially_hooked_methods(): File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 153, in _potentially_hooked_methods skip = set(cls._get_unhookable_attribute_names()) File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 336, in _get_unhookable_attribute_names + ["_run_hooked_methods"] File "/usr/local/lib/python3.6/site-packages/django_lifecycle/mixins.py", line 307, in _get_model_descriptor_names if attr and isinstance(attr, DJANGO_RELATED_FIELD_DESCRIPTOR_CLASSES): File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 278, in __bool__ self._fetch_all() File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 1242, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 52, in __iter__ compiler = queryset.query.get_compiler(using=db) File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 289, in get_compiler return connection.ops.compiler(self.compiler)(self, connection, using) File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 39, in __init__ self.ordering_parts = re.compile(r'(.*)\s(ASC|DESC)(.*)') RecursionError: maximum recursion depth exceeded The command ".travis/script.sh" exited with 1.