From f84236490f9102f41451e151238a1a0f3a319067 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 7 Feb 2011 17:57:38 +0100 Subject: Use Unicode as expected --- model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model.py') 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) -- cgit v1.2.3-70-g09d2