Google Groups Home
Help | Sign in
Message from discussion Another urlpatterns proposal (add method column)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Andrew Durdin  
View profile
 More options Oct 3 2007, 9:21 am
From: "Andrew Durdin" <adur...@gmail.com>
Date: Wed, 3 Oct 2007 14:21:30 +0100
Local: Wed, Oct 3 2007 9:21 am
Subject: Re: Another urlpatterns proposal (add method column)
On 10/3/07, Simon Litchfield <si...@slicmedia.com> wrote:

> However, using the new-ish urlpattern url() notation would be the go
> here. Just bung a new kwarg on url.__init__() with a default of
> something like None, ALL or *, that would optionally accept values
> like GET, POST, HEAD, etc.

Note that you'd have to consider how reversing the urls should work
also -- would you have to specify the method when reversing,
defaulting to GET?

Andrew


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google