2009/8/3 Jacob Kaplan-Moss <[email protected]>:
> 1. Propose a new shortcut function. Bonus points for a patch.

In all my projects I use a file of my own shortcuts:

http://dpaste.com/hold/75120/

NB. I knew as I wrote the MAGICTEMPLATE shortcut that I would never
actually use it. The idea was to eliminate ALL of the boilerplate, as
an exercise in Python stack hacking magic. Passing locals() would
achieve the same thing, but in practice it's more useful to see
explicitly what I'm passing to each template.

Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to