Hello, Try using a CharField instead of IntegerField. This is how I used and it works for me.
tipo = models.CharField(max_length=1, choices = IMAGEM_TIPOS_CHOICES, ) Thanks On Mar 8, 8:12 am, gustavo <gustavosen...@gmail.com> wrote: > Hello folks, > > I am having a hard time trying to use a radio button field on admin. > > I am using: > > tipo = models.IntegerField( > max_length=1, > choices = IMAGEM_TIPOS_CHOICES, > ) > > where IMAGEM_TIPOS_CHOICES is a list of tuples. > > Any light please? > > Thanks a lot! -- 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.