Example #1
0
	def get_specific_values(self):
		return [(t.id, t.descripcion) for t in TipoPregunta.select()]   
Example #2
0
 def list(self):
     return dict(namepl=namepl, records=TipoPregunta.select(),limit_to=self.get_limite_paginado())
Example #3
0
 def list(self):
     print identity.current.permissions
     permitir_agregar = TemaPregunta.select().count() > 0 and TipoPregunta.select().count() > 0
     return dict(namepl='Examenes', permitir_agregar=permitir_agregar,  records=ExamenFinal.select(), limit_to=self.get_limite_paginado())