Re: [Django] #21475: Choices Field is not shown in UserAdmin when an special sign is in the choices

2013-11-20 Thread Django
#21475: Choices Field is not shown in UserAdmin when an special sign is in the
choices
---+--
 Reporter:  marco.roose@…  |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  contrib.admin  |  Version:  1.5
 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 timo):

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


Comment:

 Yes, it's an error in your app, not Django. Consider using
 [https://docs.djangoproject.com/en/dev/topics/python3/#unicode-literals
 unicode_literals].

-- 
Ticket URL: 
Django 
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/083.0f88edc3d23d9483255aa0c1a9c31bdf%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21475: Choices Field is not shown in UserAdmin when an special sign is in the choices

2013-11-20 Thread Django
#21475: Choices Field is not shown in UserAdmin when an special sign is in the
choices
---+--
 Reporter:  marco.roose@…  |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  contrib.admin  |  Version:  1.5
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by marco.roose@…):

 I fiddled around a bit:

 (NOTPROOFED, u'Deine Anfrage wird geprüft'),

 does work. So it seems to be some unicode problem?

-- 
Ticket URL: 
Django 
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/083.212b9ac7e9d3c70b723c84e9c2345e44%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Django] #21475: Choices Field is not shown in UserAdmin when an special sign is in the choices

2013-11-20 Thread Django
#21475: Choices Field is not shown in UserAdmin when an special sign is in the
choices
---+--
 Reporter:  marco.roose@…  |Owner:  nobody
 Type:  Uncategorized  |   Status:  new
Component:  contrib.admin  |  Version:  1.5
 Severity:  Normal |   Resolution:
 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 marco.roose@…):

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


Comment:

 I fiddled around a bit:

 (NOTPROOFED, u'Deine Anfrage wird geprüft'),

 does work. So it seems to be some unicode problem?

-- 
Ticket URL: 
Django 
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/083.7be60dceb5784e7224ac40b84706514d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Django] #21475: Choices Field is not shown in UserAdmin when an special sign is in the choices

2013-11-20 Thread Django
#21475: Choices Field is not shown in UserAdmin when an special sign is in the
choices
---+
 Reporter:  marco.roose@…  |  Owner:  nobody
 Type:  Uncategorized  | Status:  new
Component:  contrib.admin  |Version:  1.5
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 I have the following model:
 {{{
 # -*- coding: iso-8859-1 -*-

 from django.contrib.auth.models import AbstractUser
 from django.db import models


 class Nutzer(AbstractUser):
 NOTREGISTERED = "NR"
 NOTPROOFED = 'NP'
 NOTPAYED = 'NPY'
 EXPERIED = "EXP"
 OK = 'OK'

 MARKETSTATUSCHOICES = (
 (NOTREGISTERED, 'Du bist nicht registriert'),
 (NOTPROOFED, 'Deine Anfrage wird geprüft'),
 (NOTPAYED, 'Wir warten auf Deine Beitragszahlung'),
 (OK, 'Du kannst tauschen'),
 (EXPERIED, 'Dein Konto wurde gesperrt')
 )
 market_status = models.CharField(choices=MARKETSTATUSCHOICES,
 verbose_name="Tausch-Status", max_length=30, default=NOTREGISTERED)
 }}}

 and a "normal" Useradmin like the one from the docs. In the Nutzer change
 form the "market_status" field is not rendered (but the label).

 If I change the NOTPROOFED to have a description without the German Umlaut
 the field is rendered as expected.

-- 
Ticket URL: 
Django 
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/068.acc5037e838ea4706d24ad539336c6bf%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.