Nis Jørgensen wrote:
> Yes, this is a bug.

ok, I'll make a bug ticket

> .add(a) to gfive a foreign key violation. Does your backend support
> foreign keys?

I guess so, I'm using sqlite3

> Also, if you understand what is happening, why aren't you just doing
> what Leo is suggesting, rather than adding additional fields?

actually I'm new to Django and at the time of writing I was not aware
of Reference.objects.create() feature, which I'm using now. an my
model is changed a bit, so now I do not require the reference to have
author.


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

Reply via email to