A pluggable app that can be used to manage files across the entire application
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
README.md
__init__.py
models.py
rboxfileplug.py
rboxresumefileplug.py
rboxsinglefileplug.py

README.md

RboxFilePlug

A pluggable app that can be used to manage files across the entire application

Example

from rboxfileplug import RboxFilePlug
from django.core.files import File

class Message(models.Model):
    text = models.TextField()
    files = RboxFilePlug()

>>> message.files.create(name='myfile.py', pointer = File(open('/path/to/myfile.py', 'r')))
>>>message.files.all()