autowisp.browser_interface.core.walk_fs_view module
Class Inheritance Diagram

Define WalkFSView allowing users to walk through the file system.
- class autowisp.browser_interface.core.walk_fs_view.WalkFSView(**kwargs)[source]
Bases:
View
Base class allowing user to walk through the file system.
- _add_fs_context(search_dir, filename_check, dirname_check, result)[source]
Add filesystem entries and breadcrumb navigation to result context.
Populates result with: -
file_list: sorted list of filenames in search_dir matchingfilename_check.
dir_list: sorted list of subdirectory names in search_dir matching dirname_check. On Windows with search_dir == “Computer”, lists available drive letters instead.parent_dir_list: list of(path, display_name)tuples representing the breadcrumb trail from_root_dirdown to search_dir, in top-to-bottom order.
- _get_context(config, search_dir)[source]
Return the context required by the file system walk template.
- cancel_url_name = None
- template = 'core/walk_fs.html'
- url_name = None