hi im having a problem for about an hour now, i have a model

class Dummy(models.Model):
    sell = models.CharField(max_length=20, choices=Z_CHOICES)

    def __unicode__(self):
        return u'%s' % (self.sell)

where Z_CHOICES =('9 , 'ñññ'),('10' , 'ña'),('11' , "aña"),) that is
dynamically created by a script

and here is my admin part

class DummyAdmin(admin.ModelAdmin):
    fields = ('sell',)
admin.site.register(Dummy, DummyAdmin)

there is no select box/input box appearing and no error being returned
by django..  i know its the non-ascii characters that cause this but
how can i fix it?

thanks in advance


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to