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.
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 [email protected]
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
Djangae currently supports Django 2.2.
Djangae is actively developed and maintained, so if you're thinking of contributing to the codebase, here is how to get started.
tox -e py37
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 should follow PEP-8 with a line length of 100 characters.
Reach out to us on djangae-users mailing list.
For merge request to be merged, following requirements should be met:
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