Re: RESTful PUT request

2009-01-21 Thread junker37
t; On Wed, 2009-01-21 at 16:47 -0800, junker37 wrote: > > Thanks, I see the request.raw_post_datanow in my middleware class, > > however, that request never gets to my view, but instead is sent back > > as a 301 redirect and then the request_post_data is gone. > > A 301 redi

Re: RESTful PUT request

2009-01-21 Thread junker37
', 'django.middleware.transaction.TransactionMiddleware', ) Do I need some sort of decorator for my view to allow PUT requests? On Jan 21, 4:17 pm, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > On Wed, 2009-01-21 at 07:01 -0800, junker37 wrote: > > I can't seem to get django to handl

RESTful PUT request

2009-01-21 Thread junker37
I can't seem to get django to handle a PUT request. I've googled quited a bit and there seems to be some RESTful interfaces available for django, however, I can't seem to get any of them to work because the PUT request gets a 301 direct to a GET request. I created my own middleware where I can

Re: Newb needs help with tracking variables in Templates

2009-01-06 Thread junker37
Yep, reading the documentation helps ;). But here's how your code should look: {% for art in my_art_list %} {% cycle '' '' '' %} {% cylce '' '' '' %} {% empty %}