Re: ManyToManyField corrupts headers

2006-03-25 Thread lawgon
> Anyway take a look at http://firstvds.ru/. They give you a "virtual > dedicated server" which is basically a hosting where you can install > system software for yourself (like mod_python). I'm not in any way > connected to them in anyway, just heard about it. i agree - as far a django is conce

Re: ManyToManyField corrupts headers

2006-03-25 Thread burivuh
> Anyway take a look at http://firstvds.ru/. They give you a "virtual > dedicated server" which is basically a hosting where you can install > system software for yourself (like mod_python). I'm not in any way > connected to them in anyway, just heard about it. Sometimes client already has hostin

Re: ManyToManyField corrupts headers

2006-03-25 Thread Ivan Sagalaev
burivuh wrote: >We're planning to use Django on all web projects - large and small, so >sometimes the only platform for the small site is shared-hosting >without mod_python or python2.4 at all. Python in Russia is not a >widespread language. > > Looking at how many russian names are in this lis

Re: ManyToManyField corrupts headers

2006-03-25 Thread burivuh
Hi to All! Thanks for solving this problem, Adrian. We're planning to use Django on all web projects - large and small, so sometimes the only platform for the small site is shared-hosting without mod_python or python2.4 at all. Python in Russia is not a widespread language. That's why in some pr

Re: ManyToManyField corrupts headers

2006-03-24 Thread Adrian Holovaty
On 3/20/06, burivuh <[EMAIL PROTECTED]> wrote: > This output occures before any legal HTTP header - so we get "Internal > Server Error" > May be it's just forgotten debug code? Hi burivuh, Thanks for pointing this out! Yes, it's forgotten debug code. I've removed that print statement and checked

Re: ManyToManyField corrupts headers

2006-03-24 Thread Russell Keith-Magee
On 3/24/06, John Szakmeister <[EMAIL PROTECTED]> wrote: > This output occures before any legal HTTP header - so we get "Internal> Server Error"> May be it's just forgotten debug code?Caveat: I'm not a Django developer.  I think you're right though, it's probably a bug, and it still exists on trunk/

Re: ManyToManyField corrupts headers

2006-03-24 Thread John Szakmeister
On Monday 20 March 2006 07:46, burivuh wrote: > Situation: > Django 0.91, common CGI through WSGI, many-to-many fields with only one > available choice > (for example, use flatpages and try to add new flat page - you'll see > error) > > Look at the line after #question target > > fields.py: > Many

ManyToManyField corrupts headers

2006-03-20 Thread burivuh
Situation: Django 0.91, common CGI through WSGI, many-to-many fields with only one available choice (for example, use flatpages and try to add new flat page - you'll see error) Look at the line after #question target fields.py: ManyToManyField: def flatten_data(self, follow, obj = None):