Hi Tim,
thanks for the numerous valuable comments. I do have a challenge with "also
missing comma after "User"". I have been staring at my screen for 10 mins
now, I do not see the missing comma. Do you possibly mean a missing space?
Best Regards,
Juergen


On Fri, Oct 18, 2013 at 5:01 PM, Tim Graham <notifications@github.com>wrote:

> In docs/ref/models/fields.txt:
>
> > @@ -1325,6 +1325,32 @@ related. This works exactly the same as it does for :class:`ForeignKey`,
> >  including all the options regarding :ref:`recursive <recursive-relationships>`
> >  and :ref:`lazy <lazy-relationships>` relationships.
> >
> > +If you do not specify the the :attr:`related_name <ForeignKey.related_name>`
> > +argument for the OneToOneFiled, Django will use the lower-case name of the
> > +current model as default value.
> > +
> > +With the following example:
> > +
> > +.. code-block:: python
> > +
> > +    from django.db import models
> > +    from django.contrib.auth.models import User
> > +
> > +    class MySpecialUser(models.Model):
> > +        user = models.OneToOneField(User)
> > +        user = models.OneToOneField(User,related_name='supervisor_of')
>
> can't have to fields with the same name "user"
> also missing comma after "User"
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/django/django/pull/1774/files#r7064098>
> .
>