Skip to content

philippbosch/django-sirtrevor-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-sirtrevor-file

django-sirtrevor-file is a file block for django-sirtrevor.

Quick start

  1. Install django-sirtrevor-file:

    pip install django-sirtrevor-file
    
  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

About

A file block for django-sirtrevor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published