http://code.google.com/appengine/docs/python/users/adminusers.html
user = users.get_current_user()
if user:
print "Welcome, %s!" % user.nickname()
if users.is_current_user_admin():
print "Go to admin area"
- - - - - -
The above shows how to restrict something unless you are admin can you
Any help much appreciated. Looking for any guidance or links to
tutorials/examples.
If my handler is:
handlers:
- url: /profile/(.*?)/(.*)
script: /employee/\2/\1.py
what is needed in my employee.py script to make it so a url that
inlcuded /profile/edit/manager would allow me to use edit and
that's it. i was using python. Thanks Nick!
On May 5, 7:47 am, "Nick Johnson (Google)"
wrote:
> Hi,loopymonkey,
>
> You don't specify which runtime you're working with, and the best way
> to do this is runtime-specific. In Python, however, if you're
Are there any tutorials or direct documentation links someone could
share that best explain how i could grab from a url and use to make
queries?
so for example if i make a database to keep track of movies and if i
type in myapp.appspot.com/batman it would list all my data for batman
from my movie