Re: utf8-problems

2010-06-03 Thread kirian
just guessing.. are you developing on a windows machine and your encoding problems occure on a linux machine? did you tried the smart_str and smart_unicode functions!? these solved all my encoding problems.. from django.utils.encoding import smart_str, smart_unicode On 3 Jun., 11:18, "Henrik

Re: present FileField in a form outside the admin

2010-02-26 Thread kirian
AdminFileWidget does the trick ;-) On Feb 26, 11:50 am, kirian <thomas.krem...@gmail.com> wrote: > Hi, > > I want to present a model.FileField outside the admin in a form. It > should behave like the nicely automatically created FileFields in the > admin. > > So s

present FileField in a form outside the admin

2010-02-26 Thread kirian
Hi, I want to present a model.FileField outside the admin in a form. It should behave like the nicely automatically created FileFields in the admin. So set a with the actual value and present a fileselect button. If a output the form as a table form.as_table i just get the fileselect button.

how to reload the head tag using jquery ajax and django

2010-02-15 Thread kirian
Hi, This might sound a bit like a jquery question. But since I'm pretty sure that my jquery code is okay, it seems for me that my problem has to do with django. I try to reload a form and the head of the page with a jquery ajax call: $("#id_is_active").change(function(){ url

ajax filtered fields - can not get it run

2009-12-29 Thread kirian
hy! i would be interested in some help for my topic that i posted at stackoverflow. since i think that it is difficult to post me some help i want to generate some more attention to my post. i think in this google group a lot of people are here which do know ajax filtered fields