On Oct 20, 9:01 pm, "seemant" <[EMAIL PROTECTED]> wrote:
> Hi Rajesh,
>
> Absolutely. my definition of BIBLE_BOOKS is as follows:
>
Thanks.
>
> The version of sqlite I have here is 3.3.8
>
That looks good.
>
> PS I have no idea how this SQL INSERT business works at all.
At the SQLite3 shell, try these two insert statements in succession.
The second one should fail with an integrity error as the 4 "unique
together" fields are identical in these two statements. Let's see if
that happens.
insert into "sermons_scripture" (id, book, chapter, from_verse,
to_verse, passage) values (1, "1", 1, 1, 2, "passage");
insert into "sermons_scripture" (id, book, chapter, from_verse,
to_verse, passage) values (2, "1", 1, 1, 2, "passage");
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---