> How are you accessing the request.PUT and request.DELETE? I would think > those have to be added to the HttpRequest object before you could use > them in the view.
Actually, Django doesn't have any specific machinery for handling PUT and DELETE and even more esoteric ones like PROPGET, but it'll just pass them along like any other request. You just have to check the request.method, (or request.META['REQUEST_METHOD'] ) which is a string containing the method name. there won't be any handy `request.PUT` however, you'll have to handle the inline data yourself. on a side note, the commonly used "if request.POST:" is not exactly the same as checking "if request.method == 'POST': " The former only resolves to true if the QueryDict is non-empty, i.e. there are actually post variables sent. you can theoretically POST and not send any variables, and in that case the former expression would actually resolve to false. This is noted in the documentation too now; at http://www.djangoproject.com/documentation/request_response/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---
