]> git.openstreetmap.org Git - osqa.git/commitdiff
we should save the node revision object
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 2 Aug 2011 16:55:10 +0000 (16:55 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 2 Aug 2011 16:55:10 +0000 (16:55 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1153 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/management/commands/maintaindb.py

index 26a12ff15d0a240387010b9fbac29017f876055f..c41d36bb29bb68c9e5283fe2d3379b024b91d96b 100644 (file)
@@ -30,7 +30,7 @@ def create_revision(node):
             tagnames = node.tagnames,
             title = node.title,
             )
             tagnames = node.tagnames,
             title = node.title,
             )
-
+    rev.save()
     node.save()
 
     return node
     node.save()
 
     return node