diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2011-02-07 17:57:38 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2011-02-07 17:57:38 +0100 |
commit | f84236490f9102f41451e151238a1a0f3a319067 (patch) | |
tree | 81695a601868b06f3d7dca10dbf9e36ebee53b7f /model.py | |
parent | a80a06b2ce1daac1f1f2482b5321f8c368c55425 (diff) | |
download | kosten-f84236490f9102f41451e151238a1a0f3a319067.tar.gz kosten-f84236490f9102f41451e151238a1a0f3a319067.tar.bz2 kosten-f84236490f9102f41451e151238a1a0f3a319067.zip |
Use Unicode as expected
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) |