On 9/17/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > I'll get a new patch together tonight, including a get_filename() that > returns None if the backend doesn't implement it.
This actually brings me a bit of a design question I wanted to pose: I think I prefer exposing file attributes as properties instead of methods (so ``myobject.file.name`` instead of ``myobject.file.get_filename()``. It just feels a bit cleaner, and it will allow setting in circumstances where appropriate. Thoughts? Jacob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---