hi when i run this command : DROP TABLE books_book; ^ in shell i have error SyntaxError: invalid syntax
$ python manage.py validate 0 errors found $ python manage.py validate 0 errors found $ python manage.py sqlall books BEGIN; CREATE TABLE "books_publisher" ( "id" integer NOT NULL PRIMARY KEY, "name" varchar(30) NOT NULL, "address" varchar(50) NOT NULL, "city" varchar(60) NOT NULL, "state_province" varchar(30) NOT NULL, "country" varchar(50) NOT NULL, "website" varchar(200) NOT NULL ) ; CREATE TABLE "books_author" ( "id" integer NOT NULL PRIMARY KEY, "salutation" varchar(10) NOT NULL, "first_name" varchar(30) NOT NULL, "last_name" varchar(40) NOT NULL, "email" varchar(75) NOT NULL, "headshot" varchar(100) NOT NULL ) ; CREATE TABLE "books_book_authors" ( "id" integer NOT NULL PRIMARY KEY, "book_id" integer NOT NULL, "author_id" integer NOT NULL REFERENCES "books_author" ("id"), UNIQUE ("book_id", "author_id") ) ; CREATE TABLE "books_book" ( "id" integer NOT NULL PRIMARY KEY, "title" varchar(100) NOT NULL, "publisher_id" integer NOT NULL REFERENCES "books_publisher" ("id"), "publication_date" date NOT NULL ) ; CREATE INDEX "books_book_22dd9c39" ON "books_book" ("publisher_id"); COMMIT; $ python manage.py syncdb Creating table books_publisher Creating table books_author Creating table books_book_authors Creating table books_book Installing index for books.Book_authors model Installing index for books.Book model No fixtures found. what is my wrong ? tanx -- 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.