def test_celery_exception(request): from videos.tasks import raise_exception raise_exception.delay('Exception in Celery', should_be_logged='Hello, man!') return HttpResponse( 'Hello, from Amazon SQS backend for Celery! Look for exception.')
def test_celery_exception(request): from videos.tasks import raise_exception raise_exception.delay('Exception in Celery', should_be_logged='Hello, man!') return HttpResponse('Hello, from Amazon SQS backend for Celery! Look for exception.')