Django's FileField (or ImageField) on Google App Engine -


gae doesn't allow read/write file system, django's filefield (or imagefield) using (via filesystemstorage class).

i thinking implementing custom django storage, gae blobstore seems incompatible django requirements. specifically, gae blobstore assume direct upload client store, while django custom storage need implement _save(name, content) method.

as far can see no 1 refer missing implementation. there custom storage projects out there (most notably: django-storages on bitbucket), implementations s3, windows azure, dozens of other backend, nothing google.

what direction should take have filefield in model, hosted on google app engine?

to clarify: - i'm using stocked, trunk, 1 uses google cloud sql django comes google sdk - i'm not using django nonrel. - i've followed django guide google documentation.

blobstore support writing files feature. see writing file blobstore. therefore possible implement _save(name, content) blobstore now.

another way using cloud storage. provide more features such listdir, open, delete blobstore.

https://developers.google.com/appengine/docs/python/googlestorage/


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -