Saturday, July 1, 2017

folders list in a template

Hi everyone, 

a question for you all : 

from my django application I need to select a folder and get its full path.
I did a template that offer the following : 

I click on button « Parcourir » and I want to get a folder list in order to choose one.

I did a test to check easygui.diropenbox and the test pass but when
I tried to launch a easygui.diropenbox from the view, then I got an error about thread.
Here is the view code : 


all ideas are welcome :-)

Is there a special widget to get all the folder from my computer?
something like a common dialog …

thanks.
Dominique




No comments:

Post a Comment