summaryrefslogtreecommitdiffstats
path: root/forum/models/question.py
diff options
context:
space:
mode:
Diffstat (limited to 'forum/models/question.py')
-rwxr-xr-xforum/models/question.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/forum/models/question.py b/forum/models/question.py
index aae99da2..fa1dd257 100755
--- a/forum/models/question.py
+++ b/forum/models/question.py
@@ -337,6 +337,7 @@ class Question(Content, DeletableContent):
self.tagnames = tags
self.summary = question_summary
self.html = html
+ self.text = text
#wiki is an eternal trap whence there is no exit
if self.wiki == False and wiki == True:
@@ -431,9 +432,6 @@ class Question(Content, DeletableContent):
def get_revision_url(self):
return reverse('question_revisions', args=[self.id])
- def get_latest_revision(self):
- return self.revisions.all()[0]
-
def get_last_update_info(self):
when, who = self.post_get_last_update_info()