Exemple #1
0
 def render(self):
     return render_str("piece.html", p = self)
Exemple #2
0
 def render_str(self, template, **params):
     params['user'] = self.user
     return render_str(template, **params)
Exemple #3
0
 def render_str(self, template, **params):
     params['user'] = self.user
     return render_str(template, **params)