I'm trying to set a schedule task in my django application.
So in my script, there is a line 'django.setup()'
But when executed, error message 'AttributeError: 'module' object has no attribute 'setup'' appears to me.
After searching for the solution, django.setup() is the method of version 1.7 of django.
Scheduled task's python version is 1.6.1.
How can I upgrade this and complete my purpose?