if i'm not mistaken, this has to do with url mapper. however, if
there's not anything specific you'd like to do with it, you don't need
it. :)
plus, request.params["param"] may throw keyerror so instead i suggest
using request.params.get("param")
good luck. :)
On 11 Eylül, 18:37, Freewind <[email protected]> wrote:
> I'm using pylons, and my action of controller is:
>
> class UserController(BaseController):
>
> def create(self):
> name = request.POST['name']
> email = request.POST['email']
> password = request.POST['password']
> ...
> But I found in turbogears, I can do like this:
>
> class UserController:
>
> def create(self, name, email, password):
> ...
> How to do the same in pylons?
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.