Skip to content

Admin of Page content versions takes far too long #380

Closed
@jrief

Description

@jrief

Our site currently has ~17k pages and if I click onto

Home › django CMS Versioning › Page content versions

a select box is created containing a select option for each of them. Since this uses Django's internal ModelChoiceIterator building that list of options takes far too long. It probably should be replaced by a lazy loading select field.

Anyway, my workaround to solve this problem is to completely disable that view in the admin view by adding

    def get_model_perms(self, request):
        return {}

to the class djangocms_versioning.admin.VersionAdmin.

For normal users, is there any reason why this interface must be part of the Django admin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions