Re: I think I'm doing something wrong...

2006-06-06 Thread Elver Loho
Darn, well, that fixed it :P And to think I had the same problem with TurboGears a while bak. Sheesh. Thanks, everyone! :) Elver On 6/7/06, Max Battcher <[EMAIL PROTECTED]> wrote: > > Elver Loho wrote: > > > > Sadly it seems you, along with so many, many others, have fallen into > the easies

Re: I think I'm doing something wrong...

2006-06-06 Thread Max Battcher
Elver Loho wrote: > Sadly it seems you, along with so many, many others, have fallen into the easiest problem in the book. Your action address should have a following /. http://code.djangoproject.com/wiki/NewbieMistakes#POSTtoviewslosesPOSTdata -- --Max Battcher-- http://www.worldmaker.net

Re: I think I'm doing something wrong...

2006-06-06 Thread Zanchey
Haha, three replies within two minutes. Sorry for the spam. David Adam [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googl

Re: I think I'm doing something wrong...

2006-06-06 Thread Zanchey
Elver, I haven't had much of a play with it, but I get much better results from your little test program if I add a trailing slash to the action field of your form. i.e. - + This avoids the redirect that Django sends when it receives a URL without a trailing slash, trashing your form informat

Re: I think I'm doing something wrong...

2006-06-06 Thread Adrian Holovaty
On 6/6/06, Elver Loho <[EMAIL PROTECTED]> wrote: > Anyhow, the code. > > > URL: > (r'^make/$', 'latestbooks.latest.views.make_sidebar'), > > HTML: > Your form is pointing at /make, but your view is at /make/ (note the trailing slash). Django's CommonMiddleware is automatically adding the slash (

Re: I think I'm doing something wrong...

2006-06-06 Thread Malcolm Tredinnick
On Wed, 2006-06-07 at 05:00 +0300, Elver Loho wrote: [...] > URL: > (r'^make/$', 'latestbooks.latest.views.make_sidebar'), > > HTML: > > > Ainult samal > paeval ilmunud raamatud > Täna ja eile ilmunud > raamatud

I think I'm doing something wrong...

2006-06-06 Thread Elver Loho
...because Django can't be this horribly broken. I'm sure of that much. But I've been beating my head against the wall for quite some time now and worst of all, I've got a deadline. So here's me, on the mailing list. What I'm trying to accomplish here is a simple POST form that posts to the same