RE: how to use .py file function via html or css button from django template

2020-05-23 Thread Vishesh Mangla
filesThen in views I usefrom .backend.my_app import module_nameSent from Mail for Windows 10 From: THIRUMALAIVASAN KSent: 23 May 2020 17:03To: Django usersSubject: how to use .py file function via html or css button from django template Hi,  i have created a site for local use and i need to run some some

how to use .py file function via html or css button from django template

2020-05-23 Thread THIRUMALAIVASAN K
Hi, i have created a site for local use and i need to run some some python script when i click the button , how to do that i am using on raspberry to contoll something via dashboard , so i am used django to create a site but i can't ontroll the GPIO pin's via website button -- You re