#22401: SQL Function initial SQL data does not work.
-------------------------------------+-------------------------------------
     Reporter:  pouete               |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Core (Management     |                  Version:  1.6
  commands)                          |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  1
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by aaugustin):

 Actually sqlparse is here now: https://github.com/andialbrecht/sqlparse

 It supports Python 2.5+ and 3.2+, which is good, and provides the exact
 feature we need:
 https://sqlparse.readthedocs.org/en/latest/api/?highlight=split#sqlparse.split

 I'm +0 on introducing this as on optional dependency and +1 on deprecating
 the current regex-based logic and eventually turning it into a mandatory
 dependency when you want to load initial SQL (which most projects don't)!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22401#comment:3>
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/064.c3ec99b7c953c030f16ab341fcccd4c2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to