Folks,
Thanks again for the answers to my earlier question about overriding the DirectoryLister class. They worked perfectly. I can tweak and style the appearance as desired. One more question:
Within of the display of a directory's contents, I would like to have the ability to have a form that lets me add a file to that directory.
To do this, I added a <form method="post"> to the template of the DirectoryLister with an <input type=file ...> to specify the file and created a render_POST() function within my subclass of File.
But the render_POST() function doesn't seem to be called when I click Submit. I suspect that I'm misunderstanding the class hierarchy, but don't know what to change. Any advice?
Many thanks!
Rich Brown
Hanover, NH