#34653: Django (4.2.2) doesn't handle unicode characters in labels of choices
----------------------------+--------------------------------------
     Reporter:  Stefanos    |                    Owner:  nobody
         Type:  Bug         |                   Status:  closed
    Component:  Migrations  |                  Version:  4.2
     Severity:  Normal      |               Resolution:  invalid
     Keywords:              |             Triage Stage:  Unreviewed
    Has patch:  0           |      Needs documentation:  0
  Needs tests:  0           |  Patch needs improvement:  0
Easy pickings:  0           |                    UI/UX:  0
----------------------------+--------------------------------------
Changes (by David Sanders):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Sorry I can't reproduce this on main, here's the migration generated from
 the model in the description:

 {{{
 # Generated by Django 5.0.dev20230612063128 on 2023-06-14 03:03

 from django.db import migrations, models


 class Migration(migrations.Migration):

     initial = True

     dependencies = []

     operations = [
         migrations.CreateModel(
             name="Marks",
             fields=[
                 (
                     "id",
                     models.BigAutoField(
                         auto_created=True,
                         primary_key=True,
                         serialize=False,
                         verbose_name="ID",
                     ),
                 ),
                 (
                     "marks",
                     models.CharField(choices=[("apostrophe", "’")],
 max_length=10),
                 ),
             ],
         ),
     ]
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34653#comment:1>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070188b7dfa41f-fce122f4-9def-4cee-a04d-2e468855eb47-000000%40eu-central-1.amazonses.com.

Reply via email to