Module ImportFrom alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore NameLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body AugAssignAdd AttributeStore NameLoad attr Num If UnaryOpNot NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr Num body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad body Return NameLoad Assign NameStore NameLoad For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If NameLoad body AugAssignAdd AttributeStore NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr Num body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad If CompareGtE AttributeLoad NameLoad attr Num body Print BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num attr AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad NameLoad attr attr While CompareIn Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str ListLoad NameLoad NameLoad orelse Assign NameStore BinOpAdd ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If CompareGtE AttributeLoad NameLoad attr Num body Print BinOpMod BinOpAdd Str Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr TupleLoad Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ unicode_literals django.core.files File DjangoFile django.core.management.base BaseCommand NoArgsCommand filer.models.filemodels File leonardo.module.media.models * filer.settings FILER_IS_PUBLIC_DEFAULT filer.utils.compatibility upath optparse make_option N/A os N/A MEDIA_MODELS N/A Image Document Vector Video FileImporter N/A object N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self path N/A N/A kwargs get path N/A N/A self base_folder N/A N/A kwargs get base_folder N/A N/A self verbosity N/A int N/A N/A kwargs get verbosity 1 N/A N/A self file_created 0 N/A N/A self image_created 0 N/A N/A self folder_created 0 N/A import_file N/A N/A self file_obj folder N/A N/A N/A 
        Create a File or an Image into the given folder
         N/A created False N/A cls MEDIA_MODELS N/A N/A N/A N/A cls matches_file_type N/A file_obj name N/A N/A N/A obj created N/A N/A N/A cls objects get_or_create original_filename N/A file_obj name file file_obj folder folder is_public FILER_IS_PUBLIC_DEFAULT N/A created N/A N/A N/A self image_created 1 N/A N/A created N/A N/A N/A obj created N/A N/A N/A File objects get_or_create original_filename N/A file_obj name file file_obj folder folder is_public FILER_IS_PUBLIC_DEFAULT N/A created N/A N/A N/A self file_created 1 N/A N/A N/A self verbosity 2 N/A N/A N/A file_created #%s / image_created #%s -- file : %s -- created : %s N/A N/A self file_created N/A self image_created obj created N/A obj N/A get_or_create_folder N/A N/A self folder_names N/A N/A N/A 
        Gets or creates a Folder based the list of folder names in hierarchical
        order (like breadcrumbs).

        get_or_create_folder(['root', 'subfolder', 'subsub folder'])

        creates the folders with correct parent relations and returns the
        'subsub folder' instance.
         N/A N/A N/A len folder_names N/A N/A None N/A current_parent None N/A folder_name folder_names N/A N/A N/A current_parent created N/A N/A N/A Folder objects get_or_create name folder_name parent current_parent N/A created N/A N/A N/A self folder_created 1 N/A N/A N/A self verbosity 2 N/A N/A N/A folder_created #%s folder : %s -- created : %s N/A N/A self folder_created current_parent created N/A current_parent N/A walker N/A N/A self path base_folder N/A None None N/A N/A 
        This method walk a directory structure and create the
        Folders and Files as they appear.
         N/A path N/A path N/A self path N/A base_folder N/A base_folder N/A self base_folder N/A path N/A N/A N/A os path normpath N/A upath path N/A base_folder N/A N/A base_folder N/A N/A N/A os path normpath N/A upath base_folder N/A N/A The directory structure will be imported in %s N/A base_folder N/A N/A N/A self verbosity 1 N/A N/A N/A Import the folders and files in %s N/A path N/A root_folder_name N/A N/A N/A os path basename path N/A N/A root dirs files N/A N/A os walk path N/A N/A rel_folders N/A N/A N/A N/A N/A N/A N/A root partition path N/A 2 strip N/A N/A os path sep split N/A N/A os path sep N/A N/A rel_folders N/A N/A N/A N/A rel_folders remove N/A base_folder N/A N/A folder_names N/A N/A N/A N/A base_folder split / N/A root_folder_name rel_folders N/A N/A folder_names N/A N/A root_folder_name rel_folders N/A folder N/A N/A self get_or_create_folder folder_names N/A file_obj files N/A N/A dj_file N/A DjangoFile N/A open N/A N/A N/A os path join root file_obj name file_obj N/A N/A N/A self import_file file_obj dj_file folder folder N/A N/A N/A self verbosity 1 N/A N/A N/A N/A folder_created #%s / file_created #%s /  image_created #%s N/A N/A self folder_created N/A self file_created N/A self image_created N/A N/A Command N/A NoArgsCommand N/A N/A 
    Import directory structure into the filer ::

        manage.py --path=/tmp/assets/images
        manage.py --path=/tmp/assets/news --folder=images
     N/A option_list N/A N/A BaseCommand option_list N/A N/A make_option --path action store dest path default False help Import files located in the path into django-filer N/A make_option --folder action store dest base_folder default False help Specify the destination folder in which the directory structure should be imported handle_noargs N/A N/A self N/A options N/A N/A file_importer N/A FileImporter options N/A N/A N/A file_importer walker N/A N/A