Giter VIP home page Giter VIP logo

django-google-cloud-storage's People

Contributors

ckopanos avatar slurms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-google-cloud-storage's Issues

support with Google Compute Engine

Hi ..

Is this best suited with Google Compute Engine .?

I followed exactly same procedure but i am gettting below error

No module named google.appengine.api.blobstore

If i am remove the line from googleCloud.py then the result is ..

No module named cloudstorage

There is no need for Google App Engine here ? right ?

How to fix this ?

uploaded file path is not correct

I searched lot about how to upload files to google appengine. I found your 'django-google-cloud-storage' seems good to me.

What i did is .

Download your googleCloud.py file and place it in root folder then

settings.py file

GOOGLE_CLOUD_STORAGE_BUCKET = '/bucket'
GOOGLE_CLOUD_STORAGE_URL = 'http://storage.googleapis.com/bucket_me'
GOOGLE_CLOUD_STORAGE_DEFAULT_CACHE_CONTROL = 'public, max-age: 7200'

DEFAULT_FILE_STORAGE = "googleCloud.GoogleCloudStorage"'

That's all right ?

Then if i am gonna upload one file then actually file path is

http://localhost:8000/blobstore/blob/AMIfv97xNuEPzR5RzG_G1MbZ5_PWPksPCk4YhoagDRXZ5eP63rU7tf4VK2_FqEsIS_rbyTge8z0EfaHXL3FJq56UA7AbQQ6dayIJFiZ71i6KEb4U8tWXAgdHWTpw3ulMEOzl-NvBcy_N9Y4Wt2avGT7MSvTmT-bTYQbAropWdiPoJ3N2orhTqyfqtO__o7y_JgrDUPt12xZW?display=inline

And why what's happening here .!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.