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"),
)
it will show up in auto patterns as a url like
"http://.../my-table/my-field".
However this brings some inconvenience when I am writing other pieces of
program to access this patterns.
So the question is, why dal.py's parse_as_rest() intentionally change all
underlines into hyphens? I don't think SEO consideration matters in an api.
So why?
Thanks in advance.
Regards,
Ray
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.