Fixed #876 -- Fixed typos in docs/forms.txt. Thanks, czhang
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2bb84b9c2c
commit
e1b2e48a3e
|
@ -100,7 +100,7 @@ view has a number of problems:
|
||||||
* Even if you *do* perform validation, there's still no way to give that
|
* Even if you *do* perform validation, there's still no way to give that
|
||||||
information to the user is any sort of useful way.
|
information to the user is any sort of useful way.
|
||||||
|
|
||||||
* You'll have to separate create a form (and view) that submits to this
|
* You'll have to separately create a form (and view) that submits to this
|
||||||
page, which is a pain and is redundant.
|
page, which is a pain and is redundant.
|
||||||
|
|
||||||
Let's dodge these problems momentarily to take a look at how you could create a
|
Let's dodge these problems momentarily to take a look at how you could create a
|
||||||
|
@ -305,7 +305,7 @@ about editing an existing one? It's shockingly similar to creating a new one::
|
||||||
except places.PlaceDoesNotExist:
|
except places.PlaceDoesNotExist:
|
||||||
raise Http404
|
raise Http404
|
||||||
|
|
||||||
# Grab the Place object is question for future use.
|
# Grab the Place object in question for future use.
|
||||||
place = manipulator.original_object
|
place = manipulator.original_object
|
||||||
|
|
||||||
if request.POST:
|
if request.POST:
|
||||||
|
|
Loading…
Reference in New Issue