#27128: A method model.objects.get(pk=obj.pk) returns many objects, but in a
database is one.
-------------------------------------+-------------------------------------
Reporter: setivolkylany | Owner: nobody
Type: Bug | Status: closed
Component: Uncategorized | Version: 1.9
Severity: Normal | Resolution: needsinfo
Keywords: GenericRelation, | Triage Stage:
Testing, Models | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by setivolkylany):
Replying to [comment:2 timgraham]:
> Yes, we need a minimal project (or a test case for Django's test suite,
if possible) without any third-party apps to rule out a bug there. Please
reopen if you can provide that -- and attach it to the ticket since
pastebin posts will expire soon.
Here two problems:
1. If is variant with minimal project, be taken into account that I using
the factory_boy for generate fake objects (it is third-party app)
2. What is "test case for Django's test suite"? How to made it to you?
--
Ticket URL: <https://code.djangoproject.com/ticket/27128#comment:3>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.cd17b0ba0d79101574d45e0e27520b6c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.