Oops, i thought I was running 1.0, but i thought wrong. Thanks
-nate On Wed, Sep 10, 2008 at 9:45 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > On Wed, Sep 10, 2008 at 8:21 PM, nate <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> The values of OneToOneFields don't appear to remain selected after >> creation or update in default forms (such as those used by the admin >> interface). I Looked for a bug report but didnt see one. Has anyone >> else run into this? >> >> Take the following set of models: >> >> class Thing1(models.Model): >> name = models.CharField(max_length=20) >> >> [...] >> class OTOTest(models.Model): >> other = models.OneToOneField('Thing1') >> >> [...] >> >> --- >> >> Now, creating an OTOTest with a Thing1, and clicking save and continue >> editing, will present a form with "-----" selected (not the Thing1 >> that you just set). >> [...] > > > What level of Django are you running? This was a problem fixed very soon > before 1.0 was released, see: http://code.djangoproject.com/ticket/8694 > > Karen > > > > > --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---