Problem with order_with_respect_to and self

2007-03-26 Thread Anderson Santos Silva
Hello, I am having problem when I use the order_with_respect_to and a self related foreign key model: When I validate this, it raises "'str' object has no attribute 'get_section_order'" and when I use self or Section, it raises the error: "Section has no field named 'self'" class Sect

Re: Problem with order_with_respect_to and self

2007-03-26 Thread Anderson Santos Silva
;s a clue. Regards, Anderson Malcolm Tredinnick wrote: > On Mon, 2007-03-26 at 19:23 -0300, Anderson Santos Silva wrote: > >> Hello, I am having problem when I use the order_with_respect_to and >> a self related foreign key model: >> >>

Re: Problem with order_with_respect_to and self

2007-03-27 Thread Anderson Santos Silva
search_fields = ['description'] class Meta: order_with_respect_to = 'self' ordering = ['position','description'] Thanks for your help, 4nderson | Malcolm Tredinnick wrote: > On Mon, 2007-03-26 at 22:41 -0300, Anderson Sa

Removetags template filter

2007-03-28 Thread Anderson Santos Silva
Hello everyone, I have a field with a tinymce editor, so it saves html tags inside the field and this text is send by e-mail with an html and an alternative text version. So, I have to remove all the <> tags, how can I get this in place of putting all possible html code that I can remember

Long time process and FCGI

2007-03-29 Thread Anderson Santos Silva
Hello, I have a process that sends an e-mail to more then 5000 addresses (grouping it in 50 each time) and after a while it gives me the error: --- Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact th

Re: Long time process and FCGI

2007-03-29 Thread Anderson Santos Silva
in its code) that is triggered by certain actions in > your web-application, or scheduled by cron. In any case - it is not > the job of your django view to handle bulk transfers, it was not meant > to be doing that, even if the mod_fcgi didn't have the timeout. > > > On 30/03/0