Skip to main content

Template for reusable django applications mod django-suit

Project description

## Notes
Forked from byteweaver
Thanks byteweaver!

Original repo:
https://github.com/byteweaver/django-filemanager

## Mods
Upgrade python3
Upgrade django 1.9
Integrate templates for suit personal


# django-filemanager

A simple and standalone file manager and browser for django projects. Supports multiple instances which can be used within the admin area or for the frontend as well.

## Key features

* Standalone file browser and manager
* No external dependencies except django
* Feature rich uploader included (jQuery File Upload)
* Based on django storage backend

## Installation

If you want to install the latest stable release from PyPi:

$ pip install django-filemanager

If you want to install the latest development version from GitHub:

$ pip install -e git://github.com/byteweaver/django-filemanager#egg=django-filemanager

or

https://bitbucket.org/brunoxbk/django-filemanager

Add `filemanager` to your `INSTALLED_APPS`:

INSTALLED_APPS = (
...
'filemanager',
...
)

Hook this app into your ``urls.py``:

urlpatterns = patterns('',
...
url(r'^your-url/', include('filemanager.urls', namespace='filemanager')),
...
)

## Setup

### Base template

If you like to use the basic templates included you have to make sure your project does meet the following requirements. The filemanger does require a base template called `base.html` to extend from or you to override the `filemanager/filemanager_base.html` template. Within your template you have to define a block named `content`, like in the following example:

<html>
<head>...</head>
<body>
{% block content %}{% endblock %}
</body>
</html>

### Directory settings

Define paths for `MEDIA_ROOT` and `MEDIA_URL` in your django settings file or override the filemanager settings for `FILEMANAGER_MEDIA_ROOT` and `FILEMANAGER_MEDIA_URL`.

Make sure the base folder defined in your settings for filemanager does exist. By default it is located at `MEDIA_ROOT/uploads`.

Project details


Release history Release notifications

This version
History Node

0.0.7

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-filemanager-lte-0.0.7.tar.gz (59.5 kB) Copy SHA256 hash SHA256 Source None Dec 23, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page