On 03/04/2023 18.44, Ravindra Magar wrote:
How to get data from another function in view to show it on a template?


You call the function like you'd call any other function and pass the data in the context given to the template you want to render.

Kind regards.
Kasper Laudrup

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b1c48f6f-5a54-796b-2ab0-d51b3da5ea11%40stacktrace.dk.

Attachment: OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to