mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-04 12:24:09 +01:00
wip: global UI refactoring
* Templates cleanup (page titles for everyone) * Fixed unicode issues
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# coding: utf-8
|
||||
"""
|
||||
:mod:`tables` --- simple tabular renderer
|
||||
-----------------------------------------
|
||||
@@ -206,7 +206,7 @@ class Table(object):
|
||||
except AttributeError:
|
||||
return value
|
||||
|
||||
def __str__(self):
|
||||
def __unicode__(self):
|
||||
return self.render()
|
||||
|
||||
def render(self, withheader=True):
|
||||
|
||||
Reference in New Issue
Block a user