You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't delete a page that is referenced in the table livepreview_livepreviewrevision
django.db.utils.IntegrityError: update or delete on table "wagtailcore_page" violates foreign key constraint "livepreview_liveprev_page_id_a0bcd10f_fk_wagtailco" on table "livepreview_livepreviewrevision"
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func response = view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/wagtail/admin/urls/__init__.py", line 110, in wrapper return view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/wagtail/admin/auth.py", line 188, in decorated_view return view_func(request, *args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/wagtail/admin/views/pages.py", line 792, in delete return redirect(next_url)
File "/usr/local/lib/python3.8/site-packages/django/db/transaction.py", line 232, in __exit__ connection.commit()
File "/usr/local/lib/python3.8/site-packages/django/utils/asyncio.py", line 26, in inner return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 267, in commit self._commit()
File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 243, in _commit return self.connection.commit()
File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__ raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 243, in _commit return self.connection.commit() django.db.utils.IntegrityError: update or delete on table "wagtailcore_page" violates foreign key constraint "livepreview_liveprev_page_id_a0bcd10f_fk_wagtailco" on table "livepreview_livepreviewrevision"
The text was updated successfully, but these errors were encountered:
Can't delete a page that is referenced in the table livepreview_livepreviewrevision
django.db.utils.IntegrityError: update or delete on table "wagtailcore_page" violates foreign key constraint "livepreview_liveprev_page_id_a0bcd10f_fk_wagtailco" on table "livepreview_livepreviewrevision"
The text was updated successfully, but these errors were encountered: