1
0
mirror of https://github.com/django/django.git synced 2025-01-03 15:06:09 +00:00

Fixed "lets" mistakes in docs.

This commit is contained in:
David Beitey 2019-01-14 23:54:15 +00:00 committed by Tim Graham
parent 1508e71c5b
commit 885cb0d390
2 changed files with 3 additions and 3 deletions

View File

@ -313,8 +313,8 @@ app will still work.
You should always use ``include()`` when you include other URL patterns. You should always use ``include()`` when you include other URL patterns.
``admin.site.urls`` is the only exception to this. ``admin.site.urls`` is the only exception to this.
You have now wired an ``index`` view into the URLconf. Lets verify it's You have now wired an ``index`` view into the URLconf. Verify it's working with
working, run the following command: the following command:
.. console:: .. console::

View File

@ -687,7 +687,7 @@ Using more than one formset in a view
You are able to use more than one formset in a view if you like. Formsets You are able to use more than one formset in a view if you like. Formsets
borrow much of its behavior from forms. With that said you are able to use borrow much of its behavior from forms. With that said you are able to use
``prefix`` to prefix formset form field names with a given value to allow ``prefix`` to prefix formset form field names with a given value to allow
more than one formset to be sent to a view without name clashing. Lets take more than one formset to be sent to a view without name clashing. Let's take
a look at how this might be accomplished:: a look at how this might be accomplished::
from django.forms import formset_factory from django.forms import formset_factory