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

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

src/f/e/FelloWiki-0.01a1.dev-r36/fellowiki/controllers/wiki.py   FelloWiki(Download)
from fellowiki.util.xmlelement import XMLElement, SubElement
 
from fellowiki.util.assorted import check_for_permission
from fellowiki.model import *
 
    def index(self):
        check_for_permission(self.rd_perm)
        redirect("view/%s" % self.get_ressource_key())
 
 
    def view(self, ressource_key, version=None, tg_errors={}):
        if version is None:
            check_for_permission(self.rd_perm)
        else:
            check_for_permission(self.rd_hist_perm)
    def source(self, ressource_key, version=None, tg_errors={}):
        if version is None:
            check_for_permission(self.rd_perm)
        else:
            check_for_permission(self.rd_hist_perm)