#5537: Remove Reverse Lookups on ForeignKeys/ManyToMany
-----------------------+----------------------------------------------------
Reporter: dcramer | Owner: nobody
Status: new | Component: Database wrapper
Version: SVN | Resolution:
Keywords: | Stage: Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------+----------------------------------------------------
Comment (by dcramer):
This could possibly be a large performance gain as well. Maybe it should
even be pushed the related_name="" be required to add it to the reverse
instances. If you're selecting 100 rows (an normal query), that has 50
accessors on it (I'm sure people attach to "User" just as much as us), it
must have some impact on performance to attach 500 instances of a manager
to those classes.
--
Ticket URL: <http://code.djangoproject.com/ticket/5537#comment:2>
Django Code <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
-~----------~----~----~----~------~----~------~--~---