Hello,
I am new to GAE and I am creating an application with the webapp framework. I was wondering when do you set handlers in your app.yaml and when you define them in your WSGI?
At first I thought you only have one main.py main file running the WSGIApplication but I notice if you want to use the GAE authorization you define that in the handlers. So that means you run multiple WSGIApplications?
I was reading the documents on "Requiring Login or Administrator Status" and it seems they have different applications for different roles.
Maybe something like this?
-- general.py - login:
-- user.py - login: required
-- admin.py: - login: admin
But maybe it's bad to have your WSGI urls spread all over the place?
If I remember correctly if you run django on GAE you point to one py file and let the framework handle everything?
I don't want to use Django yet so was wonder if anybody had some pointers/best practices on how to do url/hanlders with webapp?