diff options
Diffstat (limited to 'model.py')
-rw-r--r-- | model.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ class Entity (elixir.Entity): # class Category (Entity): - name = Field(T.String(50), unique = True) + name = Field(T.Unicode(50), unique = True) parent = ManyToOne('Category') children = OneToMany('Category') @@ -47,7 +47,7 @@ class Category (Entity): class Expense (Entity): using_options(abstract = True) - description = Field(T.String(50)) + description = Field(T.Unicode(50)) expense = ReqField(ExpNum) category = ManyToOne('Category', required = True, innerjoin = True) |