These are chat archives for django/django

11th
Apr 2018
lakshya aggarwal
@lakshya-aggarwal
Apr 11 2018 03:51
Can someone help me with how to execute external python scripts in django?
For example, I have a python script that analyses some logs and gives a dict as result. I want to run this script in my django app and display the result in my template.
Rod
@sixtycycles
Apr 11 2018 22:07
hi @lakshya-aggarwal you should be able to just call the script from your view. you might also look at Django signals https://docs.djangoproject.com/en/1.11/topics/signals/
please share or donate :)