Skip to content

bnzk/django-folderless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5bd452f · Dec 10, 2022
Dec 10, 2022
Dec 10, 2022
Apr 7, 2020
Dec 10, 2022
May 13, 2022
May 13, 2022
May 13, 2022
Mar 31, 2016
Dec 10, 2022
Apr 7, 2020
May 13, 2022
May 9, 2022
Apr 17, 2018
Dec 10, 2022
Apr 18, 2018

Repository files navigation

django-folderless

CI Version Licence PyPI Downloads

simple media manager for django, folderless.

key features:

  • filterable file list with multi upload possibility
  • FolderlessFileField, as a replacement for FileField, with instant upload possibility

Installation

To get the latest stable release from PyPi

.. code-block:: bash

pip install django-folderless

Add folderless to your INSTALLED_APPS

.. code-block:: python

INSTALLED_APPS = (
    ...,
    'folderless',
)

Don't forget to migrate your database

.. code-block:: bash

./manage.py migrate folderless

Usage

Have a look at the folderless/tests/test_app/models.py for some example.

.. code-block:: python

from folderless.fields import FolderlessFileField

class TestModel(models.Model):
    file = FolderlessFileField(blank=True, null=True)

Contribute

Fork and code. Either run tox for complete tests, or python manage.py test --settings=folderless.tests.settings_test

Credits / Idea

main repository: https://github.com/benzkji/django-folderless . many similiar things already exist. no wonder this project is heavily experienced by https://github.com/stefanfoulis/django-filer, and to some extent, feincms.module.medialibrary and https://github.com/samluescher/django-media-tree. initial idea credits: https://github.com/wullerot/ (manipulated django-filer to hide folders completely). more ideas: http://de.slideshare.net/motivesystems/slideshare-upload-gartner-pcc-presentation-going-folderless-with-metadata

this project uses http://semver.org.