Massi here.
Software developer, engineering manager, I can ops. Open source advocate and contributor, documentation fanatic, speaker at conferences. I wrote a book once. Check out my rumblings on /dev/, or see what I'm up to now.
Deploy Django on Google App Engine
License: BSD 3-Clause "New" or "Revised" License
Provide documentation for using the custom storage for gcs
Insallation using pip fails with this error:
Could not find a version that satisfies the requirement GoogleAppEngineCloudStorageClient==trunk (from django-appengine-toolkit) (from versions: 1.7.3.1, 1.8.3.1, 1.9.0.0)
APP_YAML path should be saved in the settings.py, not app.yaml. See line 68
Hi,
I really love your library and it really helps a lot when you are developing django apps on google app engine, but sometimes I have to use Windows, and it is not possible to run collectdeps command correclty when using that OS.
There is a SO question around this: http://stackoverflow.com/questions/22752993/changes-to-django-appengine-toolkit-for-windows, and I wrote the only answer as a temporary workaround, if you feel that's the only way to solve this, please merge it here, otherwise implement the solution you find best.
Thanks.
django-appengine-toolkit
worked with Django>=1.6. While Google might not come with these versions by default, the user can install it (perhaps even using the collectdeps
command). See for example: http://stackoverflow.com/a/21591058/2638485.When uploading files to GCS using such model:
logo = models.FileField(upload_to='resource_logo')
and such settings:
APPENGINE_TOOLKIT = {
'APP_YAML': os.path.join(BASE_DIR, 'app.yaml'),
'BUCKET_NAME': 'some-bucket',
}
DEFAULT_FILE_STORAGE = 'appengine_toolkit.storage.GoogleCloudStorage'
STATICFILE_STORAGE = 'appengine_toolkit.storage.resource_logo/file.jpg'
The file indeed gets uploaded to my some-bucket but there are two issues
When I try to upload files lager than two mbs this message appears
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.