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

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

src/c/o/CollabQ-HEAD/administration/views.py   CollabQ(Download)
 
      admin_helper.validate_and_save_sitesettings(site_name, tagline, post_name)
      root_user = api.user_create_root(api.ROOT, password=password)
      api.email_associate(api.ROOT, root_user.nick, root_mail)
      channel_ref = api.channel_create(api.ROOT, nick=api.ROOT.nick, channel=channel, tags=[],

src/j/a/JaikuEngine-HEAD/install/views.py   JaikuEngine(Download)
      logging.warning('Making root user: %s', settings.ROOT_NICK)
      validate.nonce(request, 'create_root')
      root_user = api.user_create_root(api.ROOT)
      return util.RedirectFlash('/install', 'Root user created')
    except:

src/j/a/jaikuenginepatch-HEAD/install/views.py   jaikuenginepatch(Download)
      logging.warning('Making root user: %s', settings.ROOT_NICK)
      #validate.nonce(request, 'create_root')
      root_user = api.user_create_root(api.ROOT)
      return util.RedirectFlash('/install', 'Root user created')
    except:

src/j/a/JaikuEngine-HEAD/install/tests.py   JaikuEngine(Download)
  def test_root(self):
    api.user_create_root(api.ROOT)
    r = self.client.get('/install')
    self.assertContains(r, 'Root User root@example.com exists')
 

src/j/a/jaikuenginepatch-HEAD/install/tests.py   jaikuenginepatch(Download)
  def test_root(self):
    api.user_create_root(api.ROOT)
    r = self.client.get('/install')
    self.assertContains(r, 'Root User root@example.com exists')