On Thu, Apr 10, 2008 at 1:05 PM, David Cramer <[EMAIL PROTECTED]> wrote:
>  mymodel.filedfield.save_file()

For what it's worth, ticket #5361 does exactly this.

http://code.djangoproject.com/ticket/5361

>  - Clutters the model namespace

Agreed

>  - [Assumption] Performance gain by removing them as it creates extra
>  lambda functions to attach them.

[Counterassumption] Because of some details associated with how #5361
has to work, it has its own potential performance limitations that may
negate any gains offered by getting rid of lambda functions. I find it
best not to worry about this kinds of micro-optimizations unless
there's evidence they're causing problems.

-Gul

--~--~---------~--~----~------------~-------~--~----~
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