diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2018-05-12 19:37:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-12 19:37:42 +0200 |
| commit | 35319bf12ccefe1911588493484160aa49208f89 (patch) | |
| tree | fe1cb029786e49622e6ba3af3ddf3dc9956502ff /docs/intro/tutorial02.txt | |
| parent | 1b7d524cfa7b7834af26c99407af66be6813938d (diff) | |
Alphabetized imports in various docs.
Follow-up of d97cce34096043b019e818a7fb98c0f9f073704c and 7d3fe36c626a3268413eb86d37920f132eb4a54f.
Diffstat (limited to 'docs/intro/tutorial02.txt')
| -rw-r--r-- | docs/intro/tutorial02.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index 12e1a73630..631536b515 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -383,7 +383,7 @@ the Python import path to your :file:`mysite/settings.py` file. Once you're in the shell, explore the :doc:`database API </topics/db/queries>`:: - >>> from polls.models import Question, Choice # Import the model classes we just wrote. + >>> from polls.models import Choice, Question # Import the model classes we just wrote. # No questions are in the system yet. >>> Question.objects.all() @@ -469,7 +469,7 @@ the :doc:`time zone support docs </topics/i18n/timezones>`. Save these changes and start a new Python interactive shell by running ``python manage.py shell`` again:: - >>> from polls.models import Question, Choice + >>> from polls.models import Choice, Question # Make sure our __str__() addition worked. >>> Question.objects.all() |
