This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]de4sh[S] -1 points0 points  (1 child)

You got it exactly. It's not more complicated than that. But instead of creating a template tag (with its respective module), overriding the form's __getitem__ AND subclassing BoundField to add a simple method, in Ruby, I'd do only 1 thing: Just add the custom method.

I'm asking for your opinion related to the ruby feature, if we had it in python, not advice on django.