Traceback (most recent call last):
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/easyaudit/signals/model_signals.py", line 72, in pre_save
old_model = sender.objects.get(pk=instance.pk)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 417, in get
self.model._meta.object_name
__fake__.Site.DoesNotExist: Site matching query does not exist.
/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/haystack/backends/simple_backend.py:25: UserWarning: update is not implemented in this backend
warn("update is not implemented in this backend")
ERROR 2020-04-25 18:32:04,969 model_signals: easy audit had a pre-save exception.
Traceback (most recent call last):
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 559, in get_or_create
return self.get(**kwargs), False
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 417, in get
self.model._meta.object_name
aleksis.core.models.CustomMenu.DoesNotExist: CustomMenu matching query does not exist.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/easyaudit/signals/model_signals.py", line 72, in pre_save
old_model = sender.objects.get(pk=instance.pk)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 417, in get
self.model._meta.object_name
aleksis.core.models.CustomMenu.DoesNotExist: CustomMenu matching query does not exist.
ERROR 2020-04-25 18:32:04,982 model_signals: easy audit had a post_save exception on CRUDEvent creation. instance: footer, instance pk: footer
Traceback (most recent call last):
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 559, in get_or_create
return self.get(**kwargs), False
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 417, in get
self.model._meta.object_name
aleksis.core.models.CustomMenu.DoesNotExist: CustomMenu matching query does not exist.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/fields/__init__.py", line 1772, in get_prep_value
return int(value)
ValueError: invalid literal for int() with base 10: 'footer'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/easyaudit/signals/model_signals.py", line 178, in crud_flow
'user_pk_as_string': str(user.pk) if user else user
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/easyaudit/backends.py", line 13, in crud
return CRUDEvent.objects.create(**crud_info)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 433, in create
obj.save(force_insert=True, using=self.db)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/base.py", line 746, in save
force_update=force_update, update_fields=update_fields)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/base.py", line 784, in save_base
force_update, using, update_fields,
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/base.py", line 887, in _save_table
results = self._do_insert(cls._base_manager, using, fields, returning_fields, raw)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/base.py", line 926, in _do_insert
using=using, raw=raw,
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/query.py", line 1204, in _insert
return query.get_compiler(using=using).execute_sql(returning_fields)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1390, in execute_sql
for sql, params in self.as_sql():
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1335, in as_sql
for obj in self.query.objs
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1335, in <listcomp>
for obj in self.query.objs
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1334, in <listcomp>
[self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/sql/compiler.py", line 1275, in prepare_value
value = field.get_db_prep_save(value, connection=self.connection)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/fields/__init__.py", line 821, in get_db_prep_save
return self.get_db_prep_value(value, connection=connection, prepared=False)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/fields/__init__.py", line 816, in get_db_prep_value
value = self.get_prep_value(value)
File "/srv/venvs/aleksis-9fsiETir-py3.7/lib/python3.7/site-packages/django/db/models/fields/__init__.py", line 1776, in get_prep_value
) from e
ValueError: Field 'object_id' expected a number but got 'footer'.