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

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

src/c/o/CollabQ-HEAD/channel/views.py   CollabQ(Download)
def channel_item(request, nick, item=None, format='html'):
  nick = clean.channel(nick)
  logging.info('user: %s' % request.user)
  logging.info('nick: %s' % nick)
  view = api.actor_lookup_nick(request.user, nick)
  if request.user:
    view = request.user
    owner = api.actor_lookup_nick(view, util.get_owner(request))
  else:
    view = api.ROOT
    owner = api.actor_lookup_nick(view, view.nick)
def channel_members(request, nick=None, format='html'):
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 
def channel_settings(request, nick, page='index'):
  logging.info("channel_settings")
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)

src/c/o/CollabQ-HEAD/actor/views.py   CollabQ(Download)
def actor_history(request, nick=None, format='html'):
  nick = clean.nick(nick)
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:
def actor_invite(request, nick, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
  if not view:
def actor_overview(request, nick, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 
def actor_mentions(request, nick, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 
def actor_twitter(request, nick, format='html'):
  nick = clean.nick(nick)
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:

src/j/a/JaikuEngine-HEAD/actor/views.py   JaikuEngine(Download)
def actor_history(request, nick=None, format='html'):
  nick = clean.nick(nick)
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:
def actor_invite(request, nick, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
  if not view:
def actor_overview(request, nick, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 
  # in all cases the viewer is `request.user` and the actor being viewed
  # should be named `view`
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:
def actor_contacts(request, nick=None, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 

src/c/o/CollabQ-HEAD/poboxopenid/util.py   CollabQ(Download)
def get_nick_from_email(email):
  nick = util.display_nick(email).replace('.', '').replace('_', '')
  view = api.actor_lookup_nick(api.ROOT, nick)
 
  if view:
    cont = 1
    while view is not None:
      nick_next = nick+str(cont)
      cont+=1
      view = api.actor_lookup_nick(api.ROOT, nick_next)
    if eprofile is not None:
      nick = clean.nick(eprofile.nick)
      view = api.actor_lookup_nick(api.ROOT, nick)
    else:
      return None

src/j/a/jaikuenginepatch-HEAD/actor/views.py   jaikuenginepatch(Download)
def actor_history(request, nick=None, format='html'):
  nick = clean.nick(nick)
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:
def actor_invite(request, nick, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
  if not view:
def actor_overview(request, nick, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 
  # in all cases the viewer is `request.user` and the actor being viewed
  # should be named `view`
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:
def actor_contacts(request, nick=None, format='html'):
  nick = clean.nick(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 

src/j/a/JaikuEngine-HEAD/channel/views.py   JaikuEngine(Download)
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
  if not view:
    return http.HttpResponseRedirect('/channel/create?channel=%s' % nick)
def channel_item(request, nick, item=None, format='html'):
  nick = clean.channel(nick)
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:
def channel_members(request, nick=None, format='html'):
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 
def channel_settings(request, nick, page='index'):
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 

src/j/a/jaikuenginepatch-HEAD/channel/views.py   jaikuenginepatch(Download)
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
  if not view:
    return http.HttpResponseRedirect('/channel/create?channel=%s' % nick)
def channel_item(request, nick, item=None, format='html'):
  nick = clean.channel(nick)
  view = api.actor_lookup_nick(request.user, nick)
 
  if not view:
def channel_members(request, nick=None, format='html'):
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 
def channel_settings(request, nick, page='index'):
  nick = clean.channel(nick)
 
  view = api.actor_lookup_nick(request.user, nick)
 

src/c/o/CollabQ-HEAD/common/user.py   CollabQ(Download)
def authenticate_user_login(nick, password):
  user = api.actor_lookup_nick(api.ROOT, nick)
  if not user:
    return None
 

src/j/a/JaikuEngine-HEAD/common/user.py   JaikuEngine(Download)
def authenticate_user_login(nick, password):
  user = api.actor_lookup_nick(api.ROOT, nick)
  if not user:
    return None
 

src/j/a/jaikuenginepatch-HEAD/common/user.py   jaikuenginepatch(Download)
    def authenticate(self, nick=None, password=None):
      user = api.actor_lookup_nick(api.ROOT, nick)
      if not user:
        return None
      # user's authenticated via login have full access