#16299: Django model-module doesn't support unicode_literals
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  martijn.bastiaan@…                 |         Status:  new
                   Type:  Bug        |      Component:  Database layer
              Milestone:             |  (models, ORM)
                Version:  SVN        |       Severity:  Normal
             Resolution:             |       Keywords:  unicode,
           Triage Stage:  Accepted   |  ForeignKey, AttributeError
    Needs documentation:  0          |      Has patch:  1
Patch needs improvement:  0          |    Needs tests:  0
                  UI/UX:  0          |  Easy pickings:  1
-------------------------------------+-------------------------------------
Changes (by anthonyb):

 * needs_better_patch:  1 => 0
 * needs_tests:  1 => 0
 * needs_docs:  1 => 0


Comment:

 I've attached a patch (django-unicodely-named-model-field-tests.diff)
 which fixes the unicode issue and adds a test, but only for foreign key
 names which will convert cleanly to ascii.

 Names which have 'real' unicode characters in them will still fail, but
 these cause errors in validation.py which are much harder to catch and
 fix.

 I've also spoken directly to Russell, and he claims that a documentation
 patch isn't necessary for this bug.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16299#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 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.

Reply via email to