django-filer
django-filer copied to clipboard
Softlink/alias/shortcut functionality
Apologies if this has already been covered: would it be feasible to implement something like "ln -s" for Files within django-filer? This would result in a similar functionality to Google Drive, e.g.: allowing a File to be present in multiple Folders without requiring multiple copies of it on the filesystem.
You can just change the name, "save as new", and then move it to another folder. That makes two "files" with reference to the same image on the drive.
@joshuajonah Thanks for the reply. I tried to follow your suggestion, but after editing an image's or file's name in Django 1.11.8 & django-filer 1.4.3, I don't see a "Save as new" option, only "Save and continue editing" & "Save". What exactly is your setup, that allows """two "files" with reference to the same image on the drive."""?
Django==1.11.8, django-filer==1.3.2
https://imgur.com/a/HwWfTyH
Thanks for the reply. I was able to enable the "Save as new" option by adding save_as=True
to the ImageAdmin
class in the imageadmin.py file. Unfortunately, clicking it results in a "403 Forbidden", so I'll have to dig a bit deeper…
the save as new solution is a bit dangerous...if you remove one of them, the underlying file will be gone, leaving back the other one in an inconsistent state...
@benzkji Unfortunately, version django-filer 1.4.0 removed the 'Save as new' button, so @joshuajonah's workaround isn't an option anymore.
I'm still interested in having a similar functionality to Google Drive, e.g.: allowing a File to be present in multiple Folders without requiring multiple copies of it on the filesystem.
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.
Would save a lot of file space!
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.
This will now be closed due to inactivity, but feel free to reopen it.