[web2py] Re: Why change underline to hyphen in url patterns of parse_as_rest()?

2013-09-03 Thread Ray (a.k.a. Iceberg)
On Monday, July 1, 2013 10:47:16 PM UTC+8, Ray (a.k.a. Iceberg) wrote: > > On Monday, July 1, 2013 7:30:51 PM UTC+8, Ray (a.k.a. Iceberg) wrote: >> >> Hi folks, >> >> I just noticed that, the auto patterns generated by dal.py's >> parse_as_rest() are using hyphen to replace underline. This way if

[web2py] Re: Why change underline to hyphen in url patterns of parse_as_rest()?

2013-07-01 Thread Ray (a.k.a. Iceberg)
On Monday, July 1, 2013 7:30:51 PM UTC+8, Ray (a.k.a. Iceberg) wrote: > > Hi folks, > > I just noticed that, the auto patterns generated by dal.py's > parse_as_rest() are using hyphen to replace underline. This way if I have: > > db.define_table("my_table", > Field("my_field"), >