Skip to content

paoloromolini/django-filer

 
 

Repository files navigation

django-filer

A file management application for django that makes handling of files and images a breeze.

file browser

Filer picker widget: file-picker-widget-screeshot

Documentation: http://django-filer.readthedocs.org/en/latest/index.html

Wiki: https://github.com/divio/django-filer/wiki

Dependencies

django.contrib.staticfiles is required.

Please note, there are some compatibility constraints that we can not enforce through the setup.py. Here are the most important of them:

Django | django-polymorphic | django-mptt
------ | ------------------ | -----------
1.6    | >=0.5.4,           | >=0.6,<0.8
1.7    | >=0.5.6            | >=0.6,<0.8
1.8    | >=0.7              | >=0.7

Installation

To get started using django-filer simply install it with pip:

pip install django-filer

Configuration

Add "filer", "mptt" and "easy_thumbnails" to your project's INSTALLED_APPS setting and run syncdb (and migrate if you're using South).

See the docs for advanced configuration:

Django <1.7 and South

Django 1.7 is supported together with the new migrations. For Django<1.7 South is still supported, you need at least South>=1.0 for South to find them though.

Testsuite

The easiest way to run the testsuite is to checkout the code, make sure you have PIL installed, and run:

python setup.py test

For serious testing tox is recommended. See documentation for details.

Development front-end

To started development fron-end part of django-filer simply install all the packages over npm:

npm install

To compile and watch scss, run javascript unit-tests, jshint and jscs watchers:

gulp

To compile scss to css:

gulp sass

To run sass watcher:

gulp sass:watch

To run javascript linting and code styling analysis:

gulp lint

To run javascript linting and code styling analysis watcher:

gulp lint:watch

To run javascript linting:

gulp jshint

To run javascript code style analysis:

gulp jscs

To fix javascript code style errors:

gulp jscs:fix

To run javascript unit-tests:

gulp tests:unit

About

File and Image Management Application for django

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 72.1%
  • CSS 11.7%
  • HTML 10.5%
  • JavaScript 5.5%
  • Other 0.2%