--
Ticket URL: <https://code.djangoproject.com/ticket/21437>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
The self.rel_name attribute was never used inside Django, and it wasn't
part of the public API. I am not sure what our policy of mentioning such
changes in release notes is.
It seems you can get the same value by
form.fk.related.get_accessor_name(). Unfortunately in some model
inheritance cases that wont work, you need to reconstruct the
RelatedObject by hand.
--
Ticket URL: <https://code.djangoproject.com/ticket/21437#comment:1>
Comment (by jerzyk):
imho private API is everything that starts with underscore in the classes,
everything else is public, documented or not. in the current 1.6 release
notes there are comments about private APIs too.
I suppose it is too late for depreciation path, so update to the release
notes should be fine.
--
Ticket URL: <https://code.djangoproject.com/ticket/21437#comment:2>
* stage: Unreviewed => Accepted
Comment:
Django doesn't distinguish between private and public api with underscore
(this is mainly for historical reasons). Instead anything that is
documented is public API, what isn't is private.
I guess release notes mention is OK.
--
Ticket URL: <https://code.djangoproject.com/ticket/21437#comment:3>
Comment (by aaugustin):
Our policy is not to mention changes to private APIs in the release notes.
That's why they're called "private".
We make exceptions when we have overwhelming evidence that an API is
widely used even though it's private. I'm talking about stuff like
`Model._meta` or `Form._errors`.
`rel_name` is a fairly obscure API deep inside formsets with no clear
purpose. I don't believe it crosses the threshold for a mention in the
releases notes.
-0 because I don't want to get down a path where we're eventually expected
to document any change we do to any private API anywhere in Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/21437#comment:4>
* status: new => closed
* resolution: => wontfix
Comment:
OK for me. I'll bounce this to wontfix then. (I am on flip-flop mood
today...)
--
Ticket URL: <https://code.djangoproject.com/ticket/21437#comment:5>