Tuesday, June 15, 2021

Adding Two Models In Django

How do I add two models together in the database, two different DecimalField. 
i.e math_score + eng_score = total_score

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5eaa4bb6-f411-4952-8a24-09c5a71f60c2n%40googlegroups.com.

No comments:

Post a Comment