If by โsingle userโ you mean that only you will ever use the application, the easiest option is to configure the application for authentication for you. In python, this will be done using the app.yaml file, as shown here . This way you can block multiple URLs at once. Using the admin option would be appropriate if you were allowed access, and the โrequiredโ option would work if you want others to be able to log in as well.
An example of what the Yaml wanted:
handlers: - url: /profile/.* script: user_profile.py login: required - url: /admin/.* script: admin.py login: admin - url: /.* script: welcome.py
Peter Recore
source share