Skip to main content

A file block for django-sirtrevor

Project description

django-sirtrevor-file
=====================

**django-sirtrevor-file** is a file block for `django-sirtrevor`_.


Quick start
-----------

1. Install django-sirtrevor-file::

pip install django-sirtrevor

2. Add ``sirtrevor_file`` to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'sirtrevor',
'sirtrevor_file',
)

3. Add `File` block type to the list of supported block types in
``settings.py``::

SIRTREVOR_BLOCK_TYPES = ['Text', 'List', Image', 'Video', 'File']


The «File» block type should now be available wherever you use a
``SirTrevorField`` in your project.


License
-------

MIT_


.. _django-sirtrevor: https://github.com/philippbosch/django-sirtrevor

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 django-sirtrevor-file, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django-sirtrevor-file-0.1.0.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page