#3214: [patch] raw sql file doesn't recognize quotes correctly
-------------------------------------+-------------------------------------
     Reporter:  shaunc <shaun@…>     |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  rawsql               |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by claudep):

 * needs_better_patch:  0 => 1


Comment:

 Repeating Andrew's answer on the pull request:
 `They should go away, there's a RunSQL operation you can use in migrations
 instead (that accepts either single statements or mutiple ones with its
 own internal splitter regex). I didn't get around to removing the support
 for them on syncdb-type apps, but they'll be ignored if you have
 migrations.`

 We should therefore test (sql like
 
[[https://github.com/claudep/django/blob/7ef5f573f0ee3dc615125c8195bde541c764b782/tests/initial_sql_regress/sql/simple.postgresql_psycopg2.sql|this]])
 and document the new process replacing initial sql before closing this
 ticket (or close this ticket and open new one).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/3214#comment:36>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/086.e4399f578f1b8a3e051fe99143b728fa%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to