Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luminousmen/djfiles
DJFiles is a simple Django app for manage static files of your project via admin panel.
https://github.com/luminousmen/djfiles
django django-admin-panel file-upload python
Last synced: 2 months ago
JSON representation
DJFiles is a simple Django app for manage static files of your project via admin panel.
- Host: GitHub
- URL: https://github.com/luminousmen/djfiles
- Owner: luminousmen
- License: mit
- Created: 2016-05-08T18:42:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-13T01:22:39.000Z (over 1 year ago)
- Last Synced: 2024-09-19T10:19:14.128Z (4 months ago)
- Topics: django, django-admin-panel, file-upload, python
- Language: Python
- Homepage:
- Size: 28.3 KB
- Stars: 18
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Coverage Status](https://coveralls.io/repos/github/luminousmen/djfiles/badge.svg?branch=master)](https://coveralls.io/github/luminousmen/djfiles?branch=master)
[![Build Status](https://travis-ci.org/luminousmen/djfiles.svg?branch=master)](https://travis-ci.org/luminousmen/djfiles)
[![PyPI version](https://badge.fury.io/py/django-djfiles.svg)](https://badge.fury.io/py/django-djfiles)
[![licence](https://camo.githubusercontent.com/bcd5e9b1f7f3f648ca97add1262d43b0e31d25ec/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4253442d627269676874677265656e2e737667)](https://github.com/luminousmen/djfiles/blob/master/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
```bash
$ pip install django-djfiles
```Add ```djfiles``` to your INSTALLED_APPS setting like this:
```
INSTALLED_APPS = [
...'djfiles',
]
```Apply ```djfiles``` migrations:
```bash
$ ./manage.py migrate djfiles
```Add urls to your project urls so you can get image by slug:
```bash
urlpatterns += url(r'^djfiles/', include('djfiles.urls'))
```