From 450ff5ae6160b772bd395f4fe9efef1d8c593ebd Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 23 Feb 2012 19:18:05 +0530 Subject: [PATCH] mark looked_at on save --- manifests/ships/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/ships/views.py b/manifests/ships/views.py index 7160aea..5538d74 100644 --- a/manifests/ships/views.py +++ b/manifests/ships/views.py @@ -128,6 +128,7 @@ def stringtranslate(request): return render_to_json_response({'error': 'this only works for the translation model'}) obj = Translation.objects.get(pk=id) obj.string_trans = translation + obj.looked_at = True obj.save() return render_to_json_response({'ok': 'ok'})