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
Other
150 stars 114 forks source link

Useless directories #43

Closed byashimov closed 12 years ago

byashimov commented 12 years ago

HI! Running Django 1.4 with django-filebrowser-no-grappelli trunk. Can't upload to directories or create subdirs, browse them and even delete ([Errno 21] Is a directory:). Only create new and rename old ones. That makes them absolutely useless :)

byashimov commented 12 years ago

Sorry guys, my bad. I have copied extenstions list from here http://readthedocs.org/docs/django-filebrowser/en/latest/settings.html#extensions Then browsed the source and found this:

strange if file no extension then this folder

That means you must have a 'Folder' extension in your extensions list %) So folders was identified as common files.