Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/o/p/openradar-HEAD/openradar/handlers.py   openradar(Download)
      'application_name': 'Open Radar',
      'user': users.GetCurrentUser(),
      'login_url': users.CreateLoginURL(self.request.uri),
      'logout_url': users.CreateLogoutURL('http://' + self.request.host + '/'),
    }

src/t/a/talk.org-HEAD/views.py   talk.org(Download)
    params['current_profile']=Profile.For(user)
  else:
    params['sign_in'] = users.CreateLoginURL(request.path)
 
  if not template.endswith('.html'):

src/c/o/CollabQ-HEAD/common/context_processors.py   CollabQ(Download)
def gaia(request):
  try:
    gaia_user = users.GetCurrentUser()
    gaia_login = users.CreateLoginURL(request.META['PATH_INFO'])
    gaia_logout = users.CreateLogoutURL('/logout')

src/j/a/jaikuenginepatch-HEAD/common/context_processors.py   jaikuenginepatch(Download)
def gaia(request):
  try:
    gaia_user = users.GetCurrentUser()
    gaia_login = users.CreateLoginURL(request.META['PATH_INFO'])
    gaia_logout = users.CreateLogoutURL('/logout')

src/j/a/JaikuEngine-HEAD/common/context_processors.py   JaikuEngine(Download)
def gaia(request):
  try:
    gaia_user = users.GetCurrentUser()
    gaia_login = users.CreateLoginURL(request.META['PATH_INFO'])
    gaia_logout = users.CreateLogoutURL('/logout')

src/m/o/MoneyLog-Cloud-HEAD/main.py   MoneyLog-Cloud(Download)
    def generate(self, template_name, template_values={}):
        values = {
            'request': self.request,
            'user': users.GetCurrentUser(),
            'login_url': users.CreateLoginURL(self.request.uri),

src/p/o/portable-google-app-engine-sdk-HEAD/google/appengine/ext/webapp/util.py   portable-google-app-engine-sdk(Download)
    user = users.GetCurrentUser()
    if not user:
      self.redirect(users.CreateLoginURL(self.request.uri))
      return
    else:

src/a/t/Atomate-HEAD/server/listomate/main.py   Atomate(Download)
 
        template_values = {
            "login_url": users.CreateLoginURL(self.request.uri),
            "logout_url": users.CreateLogoutURL(self.request.uri),
            }

src/a/p/appengine-modules-helloworld-python-HEAD/printenv.py   appengine-modules-helloworld-python(Download)
 
        result = PAGE_TEMPLATE.format(
            users.CreateLoginURL(self.request.url),
            users.CreateLogoutURL(self.request.url),
            '<br>\n'.join(environment_variables_output),