Added django-celery as a dependancy
Fixed import and moved delete out of try block