#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
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords: Q,
"multi-table inheritance"
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by mtredinnick):
I can't replicate this using the models given in the description.
If the original reporter is still seeing the problem with trunk, please
try to simplify the test case a bit and provide more information about
what data populates what. For example, all the !ManyToMany fields really
necessary? Can you get rid of the Project model entirely? What's the
minimum amount of data you have to assign to these models to see the
problem.
You should also fix the example to make things as correct as possible by
removing those calls to admin.register() in case they're causing some
weird side-effects (since you should not be calling register() from a
models.py file).
If I take the current models, create two publications, assign a coauthor
in one and a different author in the other one and assign them both to the
same project, I don't have any missing data or crashes.
At the moment, this needs more information about how to repeat before we
can work out what's going on.
--
Ticket URL: <http://code.djangoproject.com/ticket/10417#comment:3>
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
-~----------~----~----~----~------~----~------~--~---