Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/j/a/JaikuEngine-HEAD/channel/views.py   JaikuEngine(Download)
    user_can_post = True
    user_is_admin = True
  elif api.channel_has_member(request.user, view.nick, request.user.nick):
    privacy = 'contacts'
    user_can_post = True

src/j/a/jaikuenginepatch-HEAD/channel/views.py   jaikuenginepatch(Download)
    user_can_post = True
    user_is_admin = True
  elif api.channel_has_member(request.user, view.nick, request.user.nick):
    privacy = 'contacts'
    user_can_post = True

src/c/o/CollabQ-HEAD/channel/views.py   CollabQ(Download)
  elif api.channel_has_admin(request.user, view.nick, request.user.nick):
    return True, True
  elif api.channel_has_member(request.user, view.nick, request.user.nick):
    return True, False
  return False, False

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
  def test_channel_has_member(self):
    self.assert_(api.channel_has_member(api.ROOT,
                                        self.test_channel_nick,
                                        self.popular_nick))
    self.failIf(api.channel_has_member(api.ROOT,

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
  def test_channel_has_member(self):
    self.assert_(api.channel_has_member(api.ROOT,
                                        self.test_channel_nick,
                                        self.popular_nick))
    self.failIf(api.channel_has_member(api.ROOT,