Hi!

I never used this, but i found here and can be useful:

https://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms.MultiWidget

Cheers.


On Thu, Apr 10, 2014 at 10:56 PM, Mark Phillips
<[email protected]>wrote:

> I hope I am using the right terminology....
>
> I have a Decimal field in a model called 'width'. In the admin screen, I
> would like to display this field as three text boxes like this:
>
> width:  [] []/[]
>
> so I can enter 2 1/8 for the width, and then have the code convert that to
> 2.125 as a Decimal field and store that Decimal field in the database.
>
> How would I go about doing this?
>
> Thanks,
>
> Mark
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEqej2MkiPYfjO4afqyWVr587AL5UczhuzJCLhgxeqjda8%2BcDw%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAEqej2MkiPYfjO4afqyWVr587AL5UczhuzJCLhgxeqjda8%2BcDw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Lucas Klassmann
Desenvolvedor de Software

Email: [email protected]
Web site: http://www.lucasklassmann.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOz50pLMMRv8-boG1C0Rb7vriVnpO-G953Lbh0zoRhjG6-zsLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to