Django templatefilters for displaying info about files.
ccfiltypes is a small collection of template filters for django that make the displaying of information from FileFields a little easier..
It’s useful for displaying an icon for a certain filetype or getting just the filename without the full path.
Checkout the documentation.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.