Opened 7 years ago

Closed 7 years ago

#13593 closed (duplicate)

custom sql, not enough arguments for format string

Reported by: Oskar Owned by: nobody
Component: Uncategorized Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When running ./mange.py syncdb, initial SQL data in sql/<modelname>.sql containing '%' gives:
Failed to install custom SQL for main.Post model: not enough arguments for format string

INSERT INTO "main_post" VALUES(7,4,'Lorem 90% ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',1);

Change History (1)

comment:1 Changed 7 years ago by Oskar

Resolution: duplicate
Status: newclosed

duplicate, #3485

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