I am planning to make a large site and want to host it on Google App Engine using Django 1.5.1 web framework. But as I searched around the Internet I did not found any positive response about my question.
Reasons for Using Django 1.5.1-
Django 1.5.1 is the latest Django version and Django Developers at djangoproject.org says that you would get all the bugfixes and support for these versions.
Django 1.5.1 (and in general Django is used for large websites the great sites undoubtedly bitbucket.org , disqus.com , instagram , pinterest).
My Questions are:
Can I add Django 1.5.1 in Google App Engine library would it work on Google App Engine?
Should I use Google App Engine if I am hosting a site using Django 1.5.1 or I use some other PaaS for this ?
Should I use Django 1.3 as it provides in the library of GAE ?
Provided you are using Cloud SQL as your backend and not the datastore, you should be able to use your own Django. You might need to do some work in tweaking the database settings.
App Engine provides up to django 1.4, so you can use that if you don't want to install your own.
If you want to use the datastore, you'll have to use django-nonrel. I believe there is an experimental branch that's up to 1.5 if not 1.5.1
Related
I am trying to make this blog website for my university, I am using flutter for the frontend and DRF for the backend. I have some questions regarding these.
Do I need to host my DRF API in order to fetch data from the server? will it work if I use the free version of heroku?
Is there a way I can access the Django admin panel from the flutter frontend? like, assign new users using the admin panel that Django offers?
Thank you
Yes it needs to be hosted if you want to fetch data from the server in production. The free version of Heroku is an excellent option for this.
i am new to the world of web development and i have a very good foundation on django for backend operations. i am also learning angular for front-end applications. so far i am quite happy writing in django for backend, but i dont like to work with the django templates. My question is, is there any way to integrate angular as the front-end portion in a django environment, keeping the django as the backend??
also while we at it, is there any good designing (UI design) courses available and where (free or paid)?
What you were doing was using Django as a backend and frontend framework. But you can use Rest Framework to build an API, keeping Django only on the backend. Once you have the API endpoints built, you can consume them with Angular or any other framework.
More info:
What is an API?
The tutorial in the official website of Django Rest Framework is a great start.
I am developing a web application in django and react but would like to use directus as a cms. I already have a mysql database and RESTful api set up and working so I was wondering if I could use the directus application as an application within django to manage and update content?
if not what would be the correct way to connect directus to my application? or should I stick with a cms built for integration into django projects?
There is no SDK for django/python yet but you can still use the standard way of HTTP requests instead.
In the docs, you can learn more about how to authenticate and how to make requests or update data.
Docs: https://docs.directus.io/api/reference.html#authentication
So is there any other way to use mysql database with django app on app engine? I found nice solution but it is not free - Google SQL Cloud seem to work great. But how about, moving django app to appengine and connecting to other hosting with mysql db? Or do you have any other solutions?
So to sum up - is there any way to work GAE with outside database?
Actually I have found the answer:
The Python Development Server in the Google App Engine SDK can use a locally-installed MySQL server instance to closely mirror the Google Cloud SQL environment during development.
More info here-> https://developers.google.com/appengine/docs/python/cloud-sql/developers-guide
I'm working on a Django 1.4-based social networking website as a personal project. I'm considering hosting it at Google App Engine; however, I've read that its non-relational database engine doesn't support joins.
How does that affect me, i.e. are there any I should take for make my site work on GAE, or does Django work fully out of the box?
My site relies on numerous third-party Django apps, including django-generic-m2m. Would I even need it on Google's DBMS?
You can try to apply for access to Google Cloud SQL, which apparently supports django running on GAE.