Did I find the right examples for you? yes no

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

src/t/a/talk.org-HEAD/controllers/posts.py   talk.org(Download)
 
  if profile is None:
    profile=Profile.For(user)
  post.owner = user
  post.author = profile
 
  post.delete()
  profile=Profile.For(user)
  profile.increase_count(-1)
  return http.HttpResponseRedirect('/')

src/t/a/talk.org-HEAD/views.py   talk.org(Download)
                          'Dev' in os.getenv('SERVER_SOFTWARE'))
 
    params['current_profile']=Profile.For(user)
  else:
    params['sign_in'] = users.CreateLoginURL(request.path)