Opened 18 years ago

Closed 17 years ago

#3806 closed (duplicate)

Commenting INSERT statements causes error in fixtures

Reported by: joe4444 Owned by: Adrian Holovaty
Component: Tools Version: dev
Severity: Keywords: fixtures sql comment
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

"Normal" comments are no problem, but when I try to comment an INSERT statement in one of my sql/modelname.sql files then run ./manage.py reset appname it doesn't know how to handle the commented SQL and dies. For example:

--This file populates the db tables with initial data.        # no problem
--INSERT INTO "myapp_foobar" ("blah") VALUES ('asdf');        # cannot be processed

Change History (1)

comment:1 by Simon G. <dev@…>, 17 years ago

Resolution: duplicate
Status: newclosed

#4680 should fix this.

Note: See TracTickets for help on using tickets.
Back to Top