Re: how to set mysql collation in django?

2007-11-07 Thread mezhaka
got the answer! it's alway like that -- the teddy bear effect -- as long as you write the problem down, the solution comes on it's own. all i had to do is mysql> drop database videodnevnik; Query OK, 21 rows affected (0.10 sec) mysql> create database videodnevnik CHARACTER SET utf8 collate utf8_s

IntegrityError, MySQL, unicode strings equality (accents and umlauts)

2007-08-22 Thread mezhaka
Hi djangers! I've accidentally bumped into an IntegrityError problem as I added unique_together = (("word", "language"),) to my Keyword class. Debugging the problem I was surprised to discover the following behavior in MySQL shell: mysql> select 'm n'='man'; +--+ | 'm n'='man' | +--

Re: Development in LAN. URLs of FlatPages. Best Practices?

2007-03-20 Thread mezhaka
have you found any solution? i am interested in handling this situation as well. would it be correct to say that the problem would be solved if there was a way to access project settings from inside flatpages? On Mar 5, 12:44 pm, "Aidas Bendoraitis" <[EMAIL PROTECTED]> wrote: > We are developing

Re: Please add to the Django Tutorials list

2007-03-15 Thread mezhaka
thanks a lot for that! On Mar 15, 2:27 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello Djuggernauts, > > I've just added an entire page to the wiki about tutorials (http:// > code.djangoproject.com/wiki/Tutorials), with subcategories etc. > > Please add any that I've missed to this pag

Re: forcing UTF8 data inside django

2006-12-11 Thread mezhaka
On Dec 11, 6:02 am, "Victor Ng" <[EMAIL PROTECTED]> wrote: > Hi all, > > The unicode problem seems to creep up in this list a lot, so here's > what I've done to solve my problems. > > My particular problem is that I need to be able to deal with Unicode > data in the URLs as well as the regular req

Re: cyrillic text garbled if used as question in polls example

2006-12-11 Thread mezhaka
On Dec 9, 11:25 pm, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote: > Hello Anton, > > On Sat, Dec 09, 2006 at 08:49:25PM +0200, Anton Daneika wrote: > > I tried entering a Cyrillic text for the poll question attribute, while > > playing with example polls application. This resulted in a bunch of qu

Re: Template extending problem

2006-12-09 Thread mezhaka
try {% extends "/blog/base.html" %} instead of {% extends "/blog/base" %} by the way what does the blog/base.html looks like? On Dec 9, 8:10 pm, "Kai Kuehne" <[EMAIL PROTECTED]> wrote: > Hi list! > I've got a problem: > > settings.py: > TEMPLATE_DIRS = ( '/home/kai/Projekte/kaikuehne/template