djangocms-text-ckeditor icon indicating copy to clipboard operation
djangocms-text-ckeditor copied to clipboard

NoReverseMatch at /admin/cms/page/edit-plugin/1/

Open GregoryAveryWeir opened this issue 8 years ago • 6 comments

We recently updated from older versions of django-cms and djangocms-text-ckeditor. Now, when trying to edit a CMS placeholder by double-clicking it in Content edit more, we're getting the following error on the AJAX call to pull up the editor:

NoReverseMatch at /admin/cms/page/edit-plugin/1/ Reverse for 'app_list' with arguments '()' and keyword arguments '{u'app_label': 'djangocms_text_ckeditor'}' not found. 1 pattern(s) tried: [u'admin/(?P<app_label>django_comments|auth|updates|filer|cms|tagging|zinnia|sites|djangocms_snippet)/$']

What could be going on? It looks as if djangocms-text-ckeditor is failing to register itself somehow.

Versions: Django==1.9.12 django-cms==3.4.3 djangocms-text-ckeditor==3.5.0

GregoryAveryWeir avatar Jun 04 '17 20:06 GregoryAveryWeir

We're using django-admin-bootstrap to style our admin, but if we disable it everything works. It's weird, because django-admin-bootstrap is almost entirely just new templates.

GregoryAveryWeir avatar Jun 22 '17 01:06 GregoryAveryWeir

Hello @GregoryAveryWeir, Can you confirm the NoReverseMatch error is raised by a template?

czpython avatar Jun 29 '17 10:06 czpython

I can confirm. Django thinks the error is in djangocms_text_ckeditor/templates/cms/plugins/text_plugin_change_form.html at line 0, but that template never tries to reverse app_list. This suggests the error is in the change_form_template or one of its parents.

GregoryAveryWeir avatar Jun 29 '17 16:06 GregoryAveryWeir

@GregoryAveryWeir do you have this issue still? Did you try with newest versions maybe?

bplociennik avatar Mar 21 '19 08:03 bplociennik

@vThaian We're holding off on upgrading djangocms-text-ckeditor until #474 is resolved, as we use ManifestFilesMixin, but this still occurs with:

Django==1.11.13 django-cms==3.6.0 djangocms-text-ckeditor==3.5.3 bootstrap-admin==0.4.2

GregoryAveryWeir avatar Mar 21 '19 23:03 GregoryAveryWeir

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 28 '22 15:07 stale[bot]

This will now be closed due to inactivity, but feel free to reopen it.

stale[bot] avatar Aug 30 '22 17:08 stale[bot]