summaryrefslogtreecommitdiff
path: root/model.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2011-02-07 17:57:38 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2011-02-07 17:57:38 +0100
commitf84236490f9102f41451e151238a1a0f3a319067 (patch)
tree81695a601868b06f3d7dca10dbf9e36ebee53b7f /model.py
parenta80a06b2ce1daac1f1f2482b5321f8c368c55425 (diff)
downloadkosten-f84236490f9102f41451e151238a1a0f3a319067.tar.gz
kosten-f84236490f9102f41451e151238a1a0f3a319067.tar.bz2
kosten-f84236490f9102f41451e151238a1a0f3a319067.zip
Use Unicode as expected
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)