On 7/10/07, Sean Patrick Hogan <[EMAIL PROTECTED]> wrote:
> The "pythonic" way is a new addition to Django if I'm not mistaken.

Yes, it was added between the 0.95 and 0.96 releases.

> I personally prefer calling by string because (I'm assuming here) it doesn't
> load the function unless it needs to.

On the other hand, importing the functions and using them directly
opens up some interesting possibilities -- you can apply decorators
like 'login_required' to them right there in the URLConf, which adds
another layer of configurability that isn't possible when referencing
them as strings.


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
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