Wednesday, June 6, 2012

running a task in fabfile from django

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 message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment