Add versioning and option to hide file
Add pointer to the previous version of a file.
class File(models.Model):
...
previous_version = ...
hidden = ...
previous_version
should point to the database record that holds a file that was submitted to the same workspace, with the same fake_path
.
hidden
just excludes the file from general view.