Hi,

I was just trying the sample code from the Django Book 2nd Edition but
the generated SQL script for the Books models are not correct.

The Model code:

http://dpaste.com/226416/

The generated SQL script for sqlite:

http://dpaste.com/226417/

What's missing in the generated script is
'REFERENCES "books_book" ("id")'
for the "book_id" field
in the "books_book_authors" table. (The code listing in the book has
it.)

Am I missing something or Django 1.2.1 just generates incorrect
script?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to