Re: running a task in fabfile from django

2012-06-07 Thread Rafael Durán Castañeda
On 06/06/2012 01:28 PM, umit sethi wrote: Hi, I have a fabric task eg- def run_task(): #code here From the command prompt I run this task: fab -c env.fabricrc run_task - H hostnamr How can I run this task from django?I click on a button on a webpage in django app and it should do this. How c

running a task in fabfile from django

2012-06-06 Thread umit sethi
Hi, I have a fabric task eg- def run_task(): #code here >From the command prompt I run this task: fab -c env.fabricrc run_task - H hostnamr How can I run this task from django?I click on a button on a webpage in django app and it should do this. How can I achieve this? -- You received this me