summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Hunley <phantummm@gmail.com>2013-02-16 14:30:55 -0500
committerAlex Hunley <phantummm@gmail.com>2013-02-16 14:30:55 -0500
commit976dc07bafbd64f08c78ad6b1a4cbec5be9c85f4 (patch)
tree11cfe2b0bf9bcc24a6d9be5198befb3a6655a1b5 /docs
parente74e207cce54802f897adcb42149440ee154821e (diff)
Removed a misleading examples from documentations ala ticket #19719
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/forms/modelforms.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
index d9e00d86cf..fec0d14836 100644
--- a/docs/topics/forms/modelforms.txt
+++ b/docs/topics/forms/modelforms.txt
@@ -222,11 +222,6 @@ supplied, ``save()`` will update that instance. If it's not supplied,
# Save a new Article object from the form's data.
>>> new_article = f.save()
- # Create a form to edit an existing Article.
- >>> a = Article.objects.get(pk=1)
- >>> f = ArticleForm(instance=a)
- >>> f.save()
-
# Create a form to edit an existing Article, but use
# POST data to populate the form.
>>> a = Article.objects.get(pk=1)