wardi / django-filebrowser-no-grappelli

django-filebrowser for default Django admin site. Based on https://github.com/sehmaschine/django-filebrowser v3.1 (before it was in git) Consider using https://github.com/smacker/django-filebrowser-no-grappelli which is based on a newer version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If file is a bad softlink filebrowser throws and exception.

alep opened this issue · comments

Hello,

I'm working with: ubuntu 9.10, python 2.5, django 1.1.1

I had a softlink pointing to a directory which did not exist inside the media files. When going to /admin/filebrowser/browse/ python generated an exception, a type error, saying that gmtime need a float. It seems that fileobject.date line 87 on views.py (funtion browse) returns a string when the fileobject was a bad softlink.

Thanks,
Ale

This would be an issue with the upstream django-filebrowser as well. Please report it to them instead: http://code.google.com/p/django-filebrowser/issues/list