This commit is contained in:
j 2013-07-11 18:07:32 +00:00
parent 8349c494d3
commit d1e6da97ad
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def tv(request):
response = json_response(status=404, text='list not found')
else:
channel, created = models.Channel.objects.get_or_create(list=None)
response = json_response(status=200, text='created')
response = json_response(status=200, text='ok')
response['data'] = channel.json(request.user)
return render_to_json_response(response)
actions.register(tv, cache=False)