Opened 13 years ago

Closed 13 years ago

#3537 closed (duplicate)

Django try to format initial sql string if they contains % character

Reported by: bluszcz@… Owned by: Adrian Holovaty
Component: Core (Management commands) Version: 0.95
Severity: Keywords: syncdb
Cc: Triage Stage: Design decision needed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


If custom sql from sql directory (initial data) contains character % like below:

RAISE EXCEPTION 'Invalid name: [%]',;

django syncdb crash.

Little fix is attached.

Attachments (1)

do_not_format_string.diff (563 bytes) - added by bluszcz@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by bluszcz@…

Attachment: do_not_format_string.diff added

comment:1 Changed 13 years ago by Chris Beaven

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 13 years ago by Craig Ogg <cogg@…>

Resolution: duplicate
Status: newclosed

Duplicate of #3485

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