Giter Site home page Giter Site logo

django-appengine-toolkit's Introduction

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.

committers.top badge

django-appengine-toolkit's People

Contributors

masci 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

django-appengine-toolkit's Issues

Windows compatibility

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 version

  1. It would be great if 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.
  2. If you refuse 1), you should at least mention this incompatibility in the installation section of the docs.

GoogleCloudStorage and wrong paths in DB

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

  • the file should be set to public / word readable by default
  • the path in the DB is saved as
    /some-bucket/resource_logo/file.jpg
    instead of
    resource_logo/file.jpg
    like it should

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.