Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Some templates and static files for media file rendering

Project Description

feincms_mediaicons adds default rendering functionality to some of the most common mediafile types. By default, the icon corresponding to a certain filetype is displayed next to the mediafile link

Installation

  1. Add “feincms_mediaicons” to your INSTALLED_APPS; it is recommended to include it below your own apps so that you can later override templates bundled with this plugin in your own code (since django matches templates in order defined by INSTALLED_APPS, if you put feincms_mediaicons above your apps, it will ignore your overrides). Like this:

    INSTALLED_APPS = (
        # ...
        'your_app_one'
        'your_app_two'
        'feincms_mediaicons',
    )
    
  2. If necessary, override templates in:

    project_dir/app/templates/content/mediafile/<file_extension>.html
    
  3. If necessary, override static files (icons) in:

    project_dir/app/static/mediafile/<file_extension>.png
    

No migrations required (this module contains static files and templates only)

Release History

Release History

This version
History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
feincms_mediaicons-1.0.3-py3-none-any.whl (19.6 kB) Copy SHA256 Checksum SHA256 py3 Wheel Nov 18, 2016
feincms_mediaicons-1.0.3.tar.gz (13.2 kB) Copy SHA256 Checksum SHA256 Source Nov 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting