#3537: Django try to format initial sql string if they contains % character
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: django-admin.py
Version: 0.95 | Keywords: syncdb
Stage: Unreviewed | Has_patch: 1
---------------------------------+------------------------------------------
If custom sql from sql directory (initial data) contains character % like
below:
{{{
#!sql
RAISE EXCEPTION 'Invalid name: [%]', NEW.name;
}}}
django syncdb crash.
Little fix is attached.
--
Ticket URL: <http://code.djangoproject.com/ticket/3537>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---