FAQ
#22649: SchemaEditor.quote_value is very fragile.
-------------------------------------------+----------------------------
                Reporter: loic84 | Owner: nobody
                    Type: Bug | Status: new
               Component: Migrations | Version: 1.7-beta-2
                Severity: Release blocker | Keywords:
            Triage Stage: Unreviewed | Has patch: 0
     Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
                   UI/UX: 0 |
-------------------------------------------+----------------------------
  - Quotes in a default value will break SQLite and MySQL.
  (https://github.com/django/django/blob/master/django/db/backends/sqlite3/schema.py#L28)
  - Oracle doesn't support `bytes` and breaks on `BinaryField`.
  - Oracle uses `repr` to quote `six.string_types`, which will probably
  result in an extra `u` prefix.
  (https://github.com/django/django/blob/master/django/db/backends/oracle/schema.py#L24)

  The PR for #22424 (https://github.com/django/django/pull/2634) contains
  tests failing in various configurations.

--
Ticket URL: <https://code.djangoproject.com/ticket/22649>
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+unsubscribe@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/049.45017740a88ec2ef623347e8adc47ec5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdjango-updates @
categoriesdjango, python
postedMay 18, '14 at 5:46a
activeMay 18, '14 at 5:46a
posts1
users1
websitedjangoproject.com

1 user in discussion

Django: 1 post

People

Translate

site design / logo © 2018 Grokbase