Issues

Issue #132 resolved

name 'DatabaseStorage' is not defined

bussiere
created an issue

Binary = models.FileField(upload_to="files", storage=DatabaseStorage(),null=True, blank=True) NameError: name 'DatabaseStorage' is not defined

and i've installed it with pip.

and if i put : from filestorage import DatabaseStorage

in my model i have : from filestorage import DatabaseStorage

here is my setting.py : https://github.com/bussiere/Sumomo/blob/master/settings.py

regards

Bussiere

Regards

Comments (2)

  1. Log in to comment