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
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', )
If necessary, override templates in:
project_dir/app/templates/content/mediafile/<file_extension>.html
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.
Source Distribution
Built Distribution
File details
Details for the file feincms_mediaicons-1.0.3.tar.gz
.
File metadata
- Download URL: feincms_mediaicons-1.0.3.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | feee3a97f4d9a1a5af8ede35c9bcfa6dba1f2ff96eb718bb80ff6f7452cb889b |
|
MD5 | a845ba5f448a0e80f5d5345f4a3c29e0 |
|
BLAKE2b-256 | a33b898c397e3d54567273aca9cdec89cdafcc325376bd5037d1f9011908784f |
File details
Details for the file feincms_mediaicons-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: feincms_mediaicons-1.0.3-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b79926ef64682d571d9f037edba46651f021faa9b2dd3425c5e17560247020 |
|
MD5 | 16dfb1b0727888232f7cd4b4cf222cf8 |
|
BLAKE2b-256 | 957c54c1dde7f6ebcebc3d6a92a9f3a5dc3c428a1caabfae8e9a0186b6f473fe |