djfiles

DJFiles is a simple Django app for manage static files of your project via admin panel.

17
0
Python

Coverage Status
Build Status
PyPI version
licence

DJFiles

DJFiles is a simple Django app for manage static files of your project in admin panel. This app is useful for projects where there is a content manager, which don’t have access to server via ssh or don’t even know what it is =)

Using this app you will be able to save static files through admin panel. Files will be saved in /media/ directory of your project. It’s useful if you are not always have access to server or have a content manager who responsible for managing such files.

Requirements

  • Python >= 2.7
  • Django >= 1.8
  • python-slugify

Installation

$ pip install django-djfiles

Add djfiles to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...

    'djfiles',
]

Apply djfiles migrations:

$ ./manage.py migrate djfiles

Add urls to your project urls so you can get image by slug:

    urlpatterns += url(r'^djfiles/', include('djfiles.urls'))