Skip to main content

Django integration with Google App Engine Custom Build

Project description

Djangae

Pipeline status

The best way to run Django on Google Cloud.

Djangae (djan-gee) is a Django app that allows you to run Django applications on the Google Cloud platform, including (if you want to) using Django's models with Google Cloud Datastore as the underlying database.

:earth_africa:  Website  |   :computer:  GitLab  |   :closed_book:   Docs  |   :busts_in_silhouette:  Google Group


Looking for Commercial Support?

Potato offers Commercial Support for all its Open Source projects and we can tailor a support package to your needs.

If you're interested in commercial support, training, or consultancy then go ahead and contact us at opensource@potatolondon.com


Note: Djangae is under heavy development, stability is not guaranteed. A 2.0 release will happen when it's ready. If you are using Django 1.11 / Python 2.7, please use the 1.x branch which is stable

Features

  • Hooks to manage a series of Google Cloud emulators to simulate the Google App Engine environment locally
  • A tasks app which implements "deferred" tasks on Google Cloud Tasks, and functions for iterating large datasets
  • Utility functions to discover information about the running environment
  • A series of security patches and checks to improve the security of your project
  • Test utils for testing code that uses the Cloud Tasks API
  • Apps for cross-request locking and efficient pagination on the Google Cloud Datastore

Supported Django Versions

Djangae currently supports Django 2.2.

Documentation

https://djangae.readthedocs.io/

Installation

See https://djangae.readthedocs.io/en/latest/installation/

Contributing to Djangae

Djangae is actively developed and maintained, so if you're thinking of contributing to the codebase, here is how to get started.

Get started with development

  1. First off, head to our GitLab page and fork the repository to have your own copy of it.
  2. Clone it locally to start setting up your development environment
  3. Run all tests to make sure your local version is working: tox -e py37

Pick an issue & send a Merge Request

If you spotted a bug in Djangae that you want to fix, it's a good idea to start off by adding an issue. This will allow us to verify that your issue is valid, and suggest ideas for fixing it, so no time is wasted for you.

For help with creating the merge request, check out GitLab documentation.

Code style

Code style should follow PEP-8 with a line length of 100 characters.

Need help?

Reach out to us on djangae-users mailing list.

Merge request requirements

For merge request to be merged, following requirements should be met:

  • Tests covering new or changed code are added or updated
  • Relevant documentation should be updated or added
  • Line item should be added to CHANGELOG.md, unless change is really irrelevant

Running tests

On setting up the first time, create a Python 3 virtualenv and install the prerequisites with

# install tox
pip install tox

# install the datastore emulator
gcloud components install cloud-datastore-emulator

If you don't have gcloud (the Google Cloud SDK) installed, installation instructions can be found here

For running the tests, you just need to run:

$ tox -e py37

You can run specific tests in the usual way by doing:

tox -e py37 -- some_app.SomeTestCase.some_test_method

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

djangaec-2.0.0rc2.tar.gz (128.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangaec-2.0.0rc2-py3-none-any.whl (135.8 kB view details)

Uploaded Python 3

File details

Details for the file djangaec-2.0.0rc2.tar.gz.

File metadata

  • Download URL: djangaec-2.0.0rc2.tar.gz
  • Upload date:
  • Size: 128.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for djangaec-2.0.0rc2.tar.gz
Algorithm Hash digest
SHA256 3815e8e12ad43316bcf708403d4637a0665a651aecfdfa00a5732290e67f0089
MD5 1eae6af209d1d861ab25a6ac0bd145d6
BLAKE2b-256 ec625156c06d21466495a66d7df1e23620818a5027227eb3bb3679570d9ec5ce

See more details on using hashes here.

File details

Details for the file djangaec-2.0.0rc2-py3-none-any.whl.

File metadata

  • Download URL: djangaec-2.0.0rc2-py3-none-any.whl
  • Upload date:
  • Size: 135.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.19

File hashes

Hashes for djangaec-2.0.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc3e43d8e6bbe275d741240f31202eac44ee59d76c35acf25b30ff9f9cbf50ef
MD5 030bdfff2f6d39a1f2e48733274ca14b
BLAKE2b-256 1985a8dacf35ee1e86b7509064f0af3b75276fce970e737ce27ed0e96fbec866

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page