Re: please help: problem saving strings to the database

2014-11-22 Thread Sabine Maennel
Thank you Szymon, Tiago just got it: I had a misplaced comma that caused the error. Am Freitag, 21. November 2014 19:21:51 UTC+1 schrieb Szymon Krzemiński: > > Looks like the record is stored as a one-element tuple. Don't know what's > the source of this behaviour yet, though. > > W dniu piątek,

Re: please help: problem saving strings to the database

2014-11-22 Thread Sabine Maennel
Thank you Tiago, you got it. It was the Comma. So grateful to you. I searched for hours and did not catch this simple reason, that resulted form my copy and paste! Am Freitag, 21. November 2014 15:02:20 UTC+1 schrieb Tiago Almeida: > > Check if you have a comma after the string. > > log = Class

Re: please help: problem saving strings to the database

2014-11-21 Thread Szymon Krzemiński
Looks like the record is stored as a one-element tuple. Don't know what's the source of this behaviour yet, though. W dniu piątek, 21 listopada 2014 12:57:40 UTC+1 użytkownik Sabine Maennel napisał: > > Hello, > > I do not know why this is happening: If I try to update a database record > the t

Re: please help: problem saving strings to the database

2014-11-21 Thread Tiago Almeida
Check if you have a comma after the string. log = ClassroomLog.objects.get(...) log.text = "Hallo"*,* log.save() Sexta-feira, 21 de Novembro de 2014 11:57:40 UTC, Sabine Maennel escreveu: > > Hello, > > I do not know why this is happening: If I try to update a database record >