[Answered ]-'Page' object has no attribute 'ordered' Exception

2👍

The problem here is that you’re using brands (a Page) in a context that’s expecting a QuerySet.

It doesn’t seem as though pagination and formsets were designed to work together. From glancing at the source code, it looks like brands.object_list might still be a QuerySet. If so, use that where you were using brands before.

This answer gives a hacky solution for using the two together, but it’s quite inefficient. (It makes one trip to the database to get the desired item ids, and then constructs a new QueryList that explicitly includes those ids.)

Leave a comment