예제 #1
0
파일: event.py 프로젝트: wangrandk/zookeepr
    def __before__(self, **kwargs):
        c.proposals = Proposal.find_all_accepted_without_event()
        c.event_types = EventType.find_all()

        c.can_edit = True
예제 #2
0
 def index(self):
     c.can_edit = True
     c.event_type_collection = EventType.find_all()
     return render('/event_type/list.mako')
예제 #3
0
    def __before__(self, **kwargs):
        c.proposals = Proposal.find_all_accepted_without_event()
        c.event_types = EventType.find_all()

        c.can_edit = True
예제 #4
0
 def index(self):
     c.can_edit = True
     c.event_type_collection = EventType.find_all()
     return render('/event_type/list.mako')