Sure Daniel,

I have the admin showing only the "tipo"s label, not the choices!

On 8 mar, 13:23, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Mar 8, 4:12 pm, 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!
>
> And what is your problem? What is happening? What should be happening?
> What error are you getting? Give us some clues here.
> --
> DR.

-- 
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