summaryrefslogtreecommitdiff
path: root/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'model.py')
-rw-r--r--model.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/model.py b/model.py
index d8cf91d..b42c02c 100644
--- a/model.py
+++ b/model.py
@@ -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)