Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: incompatibility with djangocms-versioning-filer 1.3 was fixed (#…
…1509) When used with djangocms-versioning-filer, the `FileAdminChangeForm` might not have a file field due to missing permissions. Since djangocms-versioning-filer 1.3 the constructor of `FileAdminChangeForm` crashes when opening the change URL of a published image. This patch fixes this issue by adding a check whether the file field is present before overriding it. Signed-off-by: Florian Scherf <[email protected]>
- Loading branch information