summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/comments/index.txt2
-rw-r--r--docs/ref/contrib/comments/upgrade.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/comments/index.txt b/docs/ref/contrib/comments/index.txt
index b6812a8e32..5aeebe32d7 100644
--- a/docs/ref/contrib/comments/index.txt
+++ b/docs/ref/contrib/comments/index.txt
@@ -156,7 +156,7 @@ A complete form might look like::
<form action="{% comment_form_target %}" method="POST">
{{ form }}
<p class="submit">
- <input type="submit" name="submit" class="submit-post" value="Preview">
+ <input type="submit" name="preview" class="submit-post" value="Preview">
</p>
</form>
diff --git a/docs/ref/contrib/comments/upgrade.txt b/docs/ref/contrib/comments/upgrade.txt
index ff70547cd4..b3656f31dd 100644
--- a/docs/ref/contrib/comments/upgrade.txt
+++ b/docs/ref/contrib/comments/upgrade.txt
@@ -48,7 +48,7 @@ run the following SQL:
comment, submit_date, ip_address, is_public, is_removed)
SELECT
content_type_id, object_id, site_id, person_name, '', '', comment,
- submit_date, ip_address, is_public, approved
+ submit_date, ip_address, is_public, not approved
FROM comments_freecomment;
INSERT INTO django_comments