nephila / django-ckeditor-filebrowser-filer

A django-filer based CKEditor filebrowser
BSD 3-Clause "New" or "Revised" License
24 stars 42 forks source link

URL pattern incompatible with Django 2.2.25/3.1.14/3.2.10 #41

Closed dhepper closed 1 year ago

dhepper commented 2 years ago

This change in Django 2.2.25/3.1.14/3.2.10 breaks django-ckeditor-filebrowser-filer, because the path /filebrowser_filer/filer_version/ no longer matches any URL definitions.

Before this change, this URL definition would match because it doesn't start with a caret (^):

url(r'version/$', filer_version, name='filer_version'),

I'd open a PR, but I'm not sure if the proper solution would be to fix the URL definition or the JavaScript that requests this URL.

As a quick workaround, I added this URL definition to my project's urls.py:

url(r'^filebrowser_filer/filer_', include('ckeditor_filebrowser_filer.urls')),
corentinbettiol commented 1 year ago

Thanks, your workaround helped me made this project work (using the develop branch).