-
-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add kilojoule values to ingredient #568
Comments
Hi! I am new here could I try to fix this issue? |
Hi! Sure, go ahead |
Hi, my partner, @derekli17, and I are also looking into this! |
Hi! Sure go ahead I am a little bit stuck with creating the property in wger\nutrition\models.py, although I got to edit the view in \wger\nutrition\templates\ingredient\view.html. If I can help you let me know. Also if you could help me @rolandgeider with creating the property I would appreciate it. |
Added kilojoules property to ingredient model (Issue #568)
While the ingredients store the energy in kcal, it would be nice to also show the value in kilojoule. This can be accomplished easily with a property in the ingredient model.
1 kcal are 4,184 kJ
The text was updated successfully, but these errors were encountered: