Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

django-fileman handles user-uploaded static files (images, media, documents) and integrates with tinymce

Project Description

django-fileman handles user-uploaded static files (images, media, documents) and integrates with tinymce


  • Python 2.7, 3.4 or 3.5
  • Django 1.8+


  1. Download the source from and run python install, or:

    > pip install django-fileman
  2. Add fileman to INSTALLED_APPS

  3. Set FILEMAN_DIRECTORY to a subdirectory of your MEDIA_ROOT (make sure it exists, it won’t be created). Defaults to 'user'


There are two options for TinyMCE integration. The simplest is to set TinyMCE’s link_list parameter to the url for ‘admin:fileman_link_list’, i.e.

  selector: 'textarea',
  plugins : 'link',
  link_list: '{% url "admin:fileman_link_list" %}',
  toolbar: 'link'

this should work with any modern TinyMCE version (from 3 onwards)

Alternately, set TinyMCE’s file_picker_callback option to integrate with the image, media and link dialogs. For example, in your admin/base_site.html template:

<script type="text/javascript"
        src="{% static 'tinymce/tinymce.min.js' %}"></script>
{% include 'fileman/static.html' %}
<script type="text/javascript" charset="utf-8">
    selector: 'textarea',
    plugins : 'link media image',
    file_picker_callback: window.fileman.tinymceFilePickerCallback
    toolbar: 'link media image'

TinyMCE 4.x is required.

Running tests

Use tox (

> pip install tox
> cd path-to/django-fileman
> tox

Release History

This version
History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(6.2 kB) Copy SHA256 Hash SHA256
Source Feb 7, 2017

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