On 10/5/06, Ben Bangert <[EMAIL PROTECTED]> wrote:
>
> wyatt-bC wrote:
> > > I went and looked at the source and the problem, if that's what it is,
> > > seems to be on line 963 in base.py:
> > >
> > > route_options['requirements'] = {'id':'\w+'}
> > >
> > > Would it wreak havoc to allow n
On Oct 5, 2006, at 10:35 AM, Ian Bicking wrote:
>> POST /messages/1;test -> messages.test()
>>
>> Or maybe you want to add a preview option to a new member
>> resource, you
>> could. Does that help?
>
> Would it be POST /messages/1;preview+edit ? (or preview_edit) Simply
> ;preview would als
Ben Bangert wrote:
> The ;edit member method is a different representation of the message
> resource, one that is setup for being edited. For example, if you
> wanted a test post, you'd add an additional new member method so that
> you could do:
> POST /messages/1;test -> messages.test()
>
> Or
wyatt-bC wrote:
> > I went and looked at the source and the problem, if that's what it is,
> > seems to be on line 963 in base.py:
> >
> > route_options['requirements'] = {'id':'\w+'}
> >
> > Would it wreak havoc to allow non-word characters in id, other than
> > that there might be a conf
wyatt-bC wrote:
> Ben Bangert wrote:
> > On Oct 3, 2006, at 5:39 PM, wyatt-bC wrote:
> >
> > > I'm trying to use the resource method like this to create some Web
> > > services:
> > >
> > > m.resource(
> > > 'address',
> > > controller='address',
> > > path_prefix='/:r
Ben Bangert wrote:
> On Oct 3, 2006, at 5:39 PM, wyatt-bC wrote:
>
> > I'm trying to use the resource method like this to create some Web
> > services:
> >
> > m.resource(
> > 'address',
> > controller='address',
> > path_prefix='/:region',
> > name_prefix='regi
On Oct 3, 2006, at 5:39 PM, wyatt-bC wrote:
> I'm trying to use the resource method like this to create some Web
> services:
>
> m.resource(
> 'address',
> controller='address',
> path_prefix='/:region',
> name_prefix='region_'
> )
The controller you speci
I'm trying to use the resource method like this to create some Web
services:
m.resource(
'address',
controller='address',
path_prefix='/:region',
name_prefix='region_'
)
I'm following this example from the Routes manual of using path_prefix
and name_prefix