celery/django-celery — pull request #266 by justquick (2013-08-14 00:49:36+00:00)
Title: JSON Validation on PeriodicTaskForm

I dont think that django-celery should let you save a periodic task with args/kwargs that are invalid JSON. Currently the app will let you save whatever you want as args/kwargs and then will blow up in the background when trying to run the task.

This patch checks that the args/kwargs you submit are valid JSON when you save the form and before the task is run. Notice this patch does not modify the args/kwargs but just validates that they are wellformed JSON.