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

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/b/u/Buckley-HEAD/sketch/templating/jinja.py   Buckley(Download)
from sketch.helpers.dateformat import *
from sketch.helpers.forms import *
from sketch.exception import NotFound, Forbidden, InternalServerError
 
try:

src/b/u/Buckley-HEAD/buckley/reqhandlers.py   Buckley(Download)
  def pre_hook(self):
    user = users.get_current_user()
    if not user or not users.is_current_user_admin():
      raise sketch.exception.Forbidden()