I’m actually working on the way to add a custom slug on django-filer’s files. The slug, if given, will replace the automatically generated canonical URL (the one with with numbers)
It is actually working and I will be glad to submit a PR for this, but I have one question and one problem:
The question: Actually the generated canonical URL with numbers use the uploaded date in URL. I’m not sure why. Is it for security reasons ? Not to be able to easily download files just by guessing their id ?
The problem: actually there is no dynamic update of the “Canonical URL field” when filling the slug. I guess I will need to wrote a custom widget to handle this ? I never done that before. Any advice on writing such widgets ?
And more generally, what is your opinion or feeling on this development?