Opened 19 years ago
Closed 18 years ago
#3537 closed (duplicate)
Django try to format initial sql string if they contains % character
| Reported by: | 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 |
Description
If custom sql from sql directory (initial data) contains character % like below:
RAISE EXCEPTION 'Invalid name: [%]', NEW.name;
django syncdb crash.
Little fix is attached.
Attachments (1)
Change History (3)
by , 19 years ago
| Attachment: | do_not_format_string.diff added |
|---|
comment:1 by , 19 years ago
| Triage Stage: | Unreviewed → Design decision needed |
|---|
comment:2 by , 18 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #3485