Note: there is no sense in upload_to keyword for Weed-FS as it uses flat file id structure.

After that you can use content almost as before.

>>>book=Book.objects.get(id=1)>>>fromdjango.core.filesimportFile>>>book.content=File(open('/tmp/book_content_1.txt'))>>>book.save()>>>Book.objects.filter(id=1).update(content=File(open('/tmp/book_content_2.txt')))>>>book.content.size100>>>book.content.storage_urlhttp://127.0.0.1:9300/3,1f23101a>>>book.content.nameu"3,1f23101a:book_content_2.txt">>>book.content.verbose_nameu"book_content_2.txt">>>book.content.content[:41]u"These are first words in the book content"

Furthermore, django-weed has integration with Nginx’s X-Accel-Redirect so you can safely serve data from Weed-FS. You have to add djweed to your INSTALLED_APPS in settings.py and assign url in urls.py to djweed.urls, i.e.:

(r'^media/',include('djweed.urls')),

There is no special Nginx configuration as it supports X-Accel-Redirect out of the box and the link will point to the Weed-FS volume.