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
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?
The text was updated successfully, but these errors were encountered:
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
to the class
djangocms_versioning.admin.VersionAdmin
.For normal users, is there any reason why this interface must be part of the Django admin?
The text was updated successfully, but these errors were encountered: