On 4/20/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> On 4/19/06, njharman <[EMAIL PROTECTED]> wrote:
>
> > class Foo(models.Model):
> >     myfield = models.OneToOneField('SomeModel')
> >
> > Fails because whatever "turns" 'SomeModel' from string into class object
> > hasn't happened when code in
> > "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/django/db/models/fields/related.py
> > on line 510 tries to determine default to_field.
>
> Interesting. Looks like I have some work to do.

For posterity: This was logged as ticket #1661 - I've just added a fix
(r3197), and closed the ticket.

Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to