Re: Taconite + jquery + Django

2007-11-10 Thread Anton Daneika
thanks, this is indeed some useful new info for me, any following examples would be much appreciated. On Nov 8, 2007 6:52 PM, Brian Costlow <[EMAIL PROTECTED]> wrote: > > Just thought I'd pass this along. I've been lurking about learning as > I work on a couple of Django-based projects, and thoug

how to set mysql collation in django?

2007-11-07 Thread Anton Daneika
hello all, i need something like TEST_DATABASE_COLLATION, but in a normal django code -- not in the tests. i am running the same script in two environments: as a part of unit test and on it's own and get different results. i suspect the reason for getting different results is django's way of sett

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

2006-12-21 Thread Anton Daneika
well at last the problem is solved. i was up to dig into the od'ing everything on my way, but decided to try to mess with MySQL and it helped. 1. at first i did what Georgi Stanojevski suggested: To get mysql client in the console working with utf-8 (doesn't have anything to do with Django) I

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

2006-12-11 Thread Anton Daneika
Thank you for support :) It helps to keep myself up. On 12/11/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > > > Anton Daneika wrote: > > Well, I tried this conf modification. > > Before it I could do > > mysql> insert into polls_poll (`question`, `pub_date`) v

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

2006-12-11 Thread Anton Daneika
On 12/11/06, Georgi Stanojevski <[EMAIL PROTECTED]> wrote: > > > Anton Daneika напиша: > > > playing with example polls application. This resulted in a bunch of > question > > marks on the view page, instead of the expected "Как дела?" poll > quest

cyrillic text garbled if used as question in polls example

2006-12-09 Thread Anton Daneika
Hello, django users. I tried entering a Cyrillic text for the poll question attribute, while playing with example polls application. This resulted in a bunch of question marks on the view page, instead of the expected "Как дела?" poll question, which was in Cyrillic. My firefox character encoding

is there a way to combine generic views?

2006-12-07 Thread Anton Daneika
Greetings, django users. I want a page which displays both the details of an object and the list of the objects. Is there a known way to combine generic views to produce such a thing? The problem is that all generic views return HttpResponse which I don't need in that case -- just the processing.

can't figure out how to call a generic view inside my own view

2006-12-06 Thread Anton Daneika
Hello, everyone. I am trying to call django.views.generic.list_detail.object_list from my own view, but I get the error page saying "dict' object has no attribute '_clone'" Here is the function: def my_gallery_listing(request, gallery_id): d = dict(queryset=Photo.objects.filter(gallery__pk =