#3294: Model object as dict
-------------------------------------------+--------------------------------
Reporter: Jeff Bauer <[EMAIL PROTECTED]> | Owner: adrian
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Core framework | Version: SVN
Severity: normal | Keywords:
-------------------------------------------+--------------------------------
I'd like to request an {{{as_dict()}}} method to be added to Model.
People are treating {{{__dict__}}} as a way to access the model instance
data, e.g.: http://tinyurl.com/ykxjgs
It would be better to have a public method so code won't break if
{{{__dict__}}} were to ever be used internally in ways the application
developer didn't anticipate.
--
Ticket URL: <http://code.djangoproject.com/ticket/3294>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---