Did I find the right examples for you? yes no

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

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

src/t/a/talk.org-HEAD/views.py   talk.org(Download)
  if user:
    params['user'] = user
    params['sign_out'] = users.CreateLogoutURL('/')
    params['is_admin'] = (users.IsCurrentUserAdmin() and
                          'Dev' in os.getenv('SERVER_SOFTWARE'))

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)
            'user': users.GetCurrentUser(),
            'login_url': users.CreateLoginURL(self.request.uri),
            'logout_url': users.CreateLogoutURL('http://' + self.request.host + '/'),
            'application_name': 'MoneyLog Cloud',
            'debug': self.request.get('debug', False),

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),
            '<br>\n'.join(cgi_arguments_output),