On Monday, 12 November 2018 21:26:48 UTC+8, Cuneyt Mertayak wrote: > > The content for the `render` method is supposed to be a dictionary: > https://docs.djangoproject.com/en/2.1/topics/http/shortcuts/#optional-arguments > > So change it to this render(requset, "FrounterWeb/body.html",{'tank': > tank}) > > Also in the template file you want to display the properties of the ORM > (tank_system) object I guess, change them to <td>{{tank.EC}}</td>, <td> > {{tank. temp}}</td>, respectively. > > Hope it helps! >
Thx for help Cuneyt Mertayak but it didn't work, appreciate the reply, but suspect that the whiten the request to return there nothing, is the whole code become empty, that my believes -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/45d9f4af-4807-4692-8d6e-dcc7ab14818a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.