X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fdb.py;h=771fd57270a18a33b1a95bddb76d37cbc75cce7a;hb=a10f5b70948be1bd082fde61ac746c8ca7ec20fa;hp=c06fab81b6e3858ec1b72956b21a490bf3bdfeb7;hpb=0e748b3079d865e98729d4bff04552518cf461b9;p=m_librarian.git diff --git a/m_librarian/db.py b/m_librarian/db.py index c06fab8..771fd57 100755 --- a/m_librarian/db.py +++ b/m_librarian/db.py @@ -82,7 +82,7 @@ class Extension(SQLObject): class Genre(SQLObject): - name = StringCol(notNull=True, unique=True) + name = UnicodeCol(notNull=True, unique=True) title = UnicodeCol(notNull=True) count = IntCol(notNull=True) books = RelatedJoin('Book', otherColumn='book_id',