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
We are employing a check for duplicate URL names in our applications and stumbled upon an issue when using django-filer: It seems like filer_file_fileicon is being defined/configured twice.
If I could pinpoint this correctly, the issue is about filer.admin.fileadmin.FileAdmin.get_urls defining the URL name filer_file_fileicon. filer.admin.imageadmin.ImageAdmin extends this class, but does not override get_urls, thus the duplicate is being generated.
We are employing a check for duplicate URL names in our applications and stumbled upon an issue when using
django-filer
: It seems likefiler_file_fileicon
is being defined/configured twice.If I could pinpoint this correctly, the issue is about
filer.admin.fileadmin.FileAdmin.get_urls
defining the URL namefiler_file_fileicon
.filer.admin.imageadmin.ImageAdmin
extends this class, but does not overrideget_urls
, thus the duplicate is being generated.django-filer/filer/admin/fileadmin.py
Lines 166 to 171 in dbeda3a
django-filer/filer/admin/imageadmin.py
Lines 92 to 94 in dbeda3a
I have been able to verify that using
does indeed fix this specific issue, although I have not yet tested whether this might have other side effects.
The text was updated successfully, but these errors were encountered: