Strange error after upgrading from Django 3.0.8 to Django 3.1.x

I recently upgraded my local Django dependency to 3.1.x and started seeing errors that I don’t get pre-3.1. There error that I’m struggling to track down appears to be query related, but it doesn’t make a whole lot of sense to me and hoped I could get some help on what the error really means,

The error occurs when trying to load an item from one of my admin views,

django.core.exceptions.FieldError: Cannot resolve keyword ‘step’ into field. Choices are: …

None of my code changed between the upgrade from 3.0.8 and 3.1.3 so not sure what this error is trying to indicate. I searched for any query where ‘step’ may be specified but cannot find any. I suspect it has to do with some foreign key relationship, but still would like to understand what this error is trying to indicate.

J.D.

I found the error, I had an inline formset that contained an ordering statement that included ‘step’. However, the model referenced for this inline formset doesn’t have that particular field nor any reverse relationships defined with the name ‘step’. Not sure why this didn’t raise error prior to Django 3.1.