Skip to main content

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)

Project details


Download files

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

Files for feincms-mediaicons, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size feincms_mediaicons-1.0.3-py3-none-any.whl (19.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size feincms_mediaicons-1.0.3.tar.gz (13.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page