DJFiles is a simple Django app for manage static files of your project via admin panel.
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.
$ 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'))