Opened 6 years ago

Closed 6 years ago

#13593 closed (duplicate)

custom sql, not enough arguments for format string

Reported by: oskarlie 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:


When running ./ 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 6 years ago by oskarlie

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

duplicate, #3485

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