#10417: Some model instances returned from a query set do not have any
attributes
filled in.
---------------------------------------------------+------------------------
Reporter: kevinvw | Owner: nobody
Status: new | Milestone: 1.1 beta
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords: Q,
"multi-table inheritance"
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by kevinvw):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Replying to [ticket:10417 kevinvw]:
> # if you uncomment this line, you'll notice that the django shell throws
an exception
> # because it can't concattenate None to String.
> # first_name is apparently None in that instance (but it's not.)
> # and last_name is apparently "" in that instance (but again, it's not,
in my case it was "Van Wilder".
My apologies, this is false, last_name was also None. It is the " " string
in between that the "Can't concat None to String" was referring to.
--
Ticket URL: <http://code.djangoproject.com/ticket/10417#comment:1>
Django <http://code.djangoproject.com/>
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
-~----------~----~----~----~------~----~------~--~---