Skip to content

Takes a directory path and lists the files as hyperlinks in a template. Basically we used this to produce a set of hyperlinks for files that are just dropped in a directory. Pull requests and enhancements welcome.

License

Notifications You must be signed in to change notification settings

objectsyndicate/django-directory-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction, History, and Installation

We built this application for a client who had more than 100 PDFs they wanted their clients to see. Based on the directory structure this was the best fit, we built the app, installed it, and then just threw the files in the directory and included the template. All of the files can be viewed at a URL built from the for loop.

Installation

  1. Download the application
  2. Run python setup.py install
  3. Add the directory_list application to your INSTALLED_APPS
  4. Edit the views.py and set the path you want displayed
  5. Move the template into place and configure the URLs

Special Thanks:

Thanks to David Reynolds, without him this project would never have been this elegant.

About

Takes a directory path and lists the files as hyperlinks in a template. Basically we used this to produce a set of hyperlinks for files that are just dropped in a directory. Pull requests and enhancements welcome.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages