Return our standard JSON success data on /zephyr POST.

(imported from commit 045e209d1a001d27b755a45984f9e159470b80bc)
This commit is contained in:
Jessica McKellar 2012-09-06 15:36:44 -04:00
parent da730ab0b0
commit aa8ea169c7
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ def zephyr(request):
new_zephyr.pub_date = datetime.datetime.utcnow().replace(tzinfo=utc) new_zephyr.pub_date = datetime.datetime.utcnow().replace(tzinfo=utc)
new_zephyr.save() new_zephyr.save()
return HttpResponse('') return json_success()
@login_required @login_required
def subscriptions(request): def subscriptions(request):