title: Google App Engine: Handlers and WSGI urls
body: <p>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? </p>
  
  <p>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?</p>
  
  <p>I was reading the documents on "Requiring Login or Administrator Status" and it seems they have different applications for different roles.</p>
  
  <p>Maybe something like this?</p>
  
  <p>-- general.py - login:<br>
  -- user.py - login: required<br>
  -- admin.py: - login: admin   </p>
  
  <p>But maybe it's bad to have your WSGI urls spread all over the place?</p>
  
  <p>If I remember correctly if you run django on GAE you point to one py file and let the framework handle everything?</p>
  
  <p>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?</p>