missing lock_objectmode

I’m trying to launch a web app a year after installation on my computer - just there was no development. Django 4.2.2 and have an error: cannot import name ‘lock_objectmode’ from ‘util.django_util’
I guess it’s been moved or removed but cannot find where it’s gone, looking for a quick fix

I don’t see anything like that name anywhere in the docs. This looks possibly like a name from a third party package.

If you don’t know what package this comes from, please post your INSTALLED_APPS setting along with the complete error message you received.

I cannot delete this thread. Just found I guess by accidental copy-paste months ago import has been modified. There should be just import lock_object