>>foo = models.ForeignKey( bar, null=True, blank=True )
> 
> 
> Give this one a go again. This is the form that should work. Perhaps
> there was another problem that got in the way? BTW there is nothing
> wrong with using a null field for your foreign key relationship in most
> schemas, from a practical perspective.
> 
>  -rob

Thanks Rob, that worked. I know I tried that one but I guess I mustn't
have properly refreshed the database or something. Working now!

Iain

--~--~---------~--~----~------------~-------~--~----~
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