how to calculate input form value in django

21 views
Skip to first unread message

Ad Tariq

unread,
Dec 23, 2021, 9:25:12 AM12/23/21
to Django users
hi! django users how  i calculate input value from template to views where request fetched value is TypeNone how can i convert it into integer of float type

Muhammad Juwaini Abdul Rahman

unread,
Dec 23, 2021, 11:11:10 AM12/23/21
to django...@googlegroups.com
TypeNone means there's no value has been key in into the form.

How do you want to convert an absent of value into integer/float?

On Thu, 23 Dec 2021 at 22:24, Ad Tariq <adta...@gmail.com> wrote:
hi! django users how  i calculate input value from template to views where request fetched value is TypeNone how can i convert it into integer of float type

--
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 django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4b2ac06d-2c3b-4224-bc46-e7e2dd65a0acn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages