[extensions-web] Fix inline edit view
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Fix inline edit view
- Date: Mon, 31 Oct 2011 17:47:13 +0000 (UTC)
commit 8057d8d22ed6c01fc3cc1894b5899f539ae00daa
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Oct 31 13:44:41 2011 -0400
Fix inline edit view
sweettooth/extensions/views.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/extensions/views.py b/sweettooth/extensions/views.py
index 52e057c..87d1447 100644
--- a/sweettooth/extensions/views.py
+++ b/sweettooth/extensions/views.py
@@ -134,7 +134,7 @@ def ajax_inline_edit_view(request, obj):
if key not in whitelist:
return HttpResponseForbidden()
- setattr(object, key, value)
+ setattr(obj, key, value)
obj.save()
return value
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]