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


Download files

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

Source Distribution

django-filemanager-lte-0.0.7.tar.gz (59.5 kB view details)

Uploaded Source

File details

Details for the file django-filemanager-lte-0.0.7.tar.gz.

File metadata

File hashes

Hashes for django-filemanager-lte-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ce8b6bebeb030873c1603af00a8b54fb45fe59f9d84fa4eb49ea8aad12c8814f
MD5 8134d2170d0f5b507a3186f5712eb710
BLAKE2b-256 230c2d633f5e1a454e55d1e74fd09859e62904eb8786590f2e07bbb904a9eb3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page