You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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: