#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 Noam Raphael <[EMAIL PROTECTED]>):
I just wanted to say that I would like this feature too - I don't like to
invent unused names.
By the way, perhaps related_name=None can be made backwards-compatible. I
think that when people write models that depend on the automatic related
name, they don't write related_name=None - they just don't write anything.
So you can make a constant related_name=AUTOMATIC, which will be the
default, and related_name=None will make no related field.
Noam
--
Ticket URL: <http://code.djangoproject.com/ticket/5537#comment:6>
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
-~----------~----~----~----~------~----~------~--~---