I think class implementations of Directories & Files would probably go a long way to helping cut down cruft in the view code:
http://code.google.com/p/django-filebrowser/source/browse/tr...