Re: Time out when requesting element from Admin

2015-11-14 Thread Joseph Wenninger
I don't know about the rest part, but for admin I'd try to use raw_id_fields, that doesn't fetch the whole Unicode/str representation for all elements the foreign key could point to. Do you have some complex code in __unicode__ or __str__? Raw Id documentation: ModelAdmin.raw_id_fields¶ By defa

utf-8 and database models

2007-01-31 Thread Joseph Wenninger
quot;Could not decode to UTF-8 column 'filepath' with text ." How do I correctly pass utf-8 strings to a model ? Could somebody give me hints how to solve this ? Kind regards Joseph Wenninger --~--~-~--~~~---~--~~ You received this message be

startup code

2006-12-09 Thread Joseph Wenninger
pplication, but for instance the development server executes the statements two times (reloader and real process) I thought about caching a value in a memcache, but I'm not sure that is the best way. Is there a way to define some startup handlers, which I have missed ? Kind regards J

Re: Kate syntax highlighting for django html templates.

2006-09-02 Thread Joseph Wenninger
gt; > comments. You can also use Ctrl+[Shift+]D to [un]comment using {% > > comment %}{% endcomment %}. [...] > Would you be willing to contribute > this to the Django distribution proper? [...] Kind regards Joseph Wenninger --~--~-~--~~~---~--~~ Yo