michaelkuty / django-filer

File and Image Management Application for django

Home Page:https://github.com/divio/django-filer/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-filer

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

https://raw.githubusercontent.com/divio/django-filer/develop/filer/static/preview_images/filer_1.png https://raw.githubusercontent.com/divio/django-filer/develop/filer/static/preview_images/filer_2.png

Filer detail view:

https://raw.githubusercontent.com/divio/django-filer/develop/filer/static/preview_images/detail_image.png https://raw.githubusercontent.com/divio/django-filer/develop/filer/static/preview_images/detail_file.png

Filer picker widget:

https://raw.githubusercontent.com/divio/django-filer/develop/filer/static/preview_images/file_picker_1.png https://raw.githubusercontent.com/divio/django-filer/develop/filer/static/preview_images/file_picker_2.png
https://raw.githubusercontent.com/divio/django-filer/develop/filer/static/preview_images/file_picker_3.png  

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.5    | >=0.4.1            | >=0.6,<0.8
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

For testing tox is required. 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

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

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 69.9%Language:CSS 12.7%Language:HTML 10.7%Language:JavaScript 6.5%Language:Ruby 0.2%Language:Shell 0.0%