Skip to content

Commit

Permalink
Merge pull request #27 from zachvalenta/patch-2
Browse files Browse the repository at this point in the history
fix code formatting
  • Loading branch information
shabda committed Apr 18, 2018
2 parents 5d5ddaa + 2b911b3 commit d12cf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/setup-models-admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The above command results in a 'polls' directory containing different files::
tests.py
views.py

Step in to 'models.py' file and start writing the models. For creating the polls api we are going to create a :code:`Poll` model, a :code:`Choice` model and a :code:`Vote` model. Once we are done with designing our models, the :code:'models.py' file should look like this:
Step in to 'models.py' file and start writing the models. For creating the polls api we are going to create a :code:`Poll` model, a :code:`Choice` model and a :code:`Vote` model. Once we are done with designing our models, the :code:`models.py` file should look like this:

These models are the same as you would have seen in the Django introduction tutorial.

Expand Down

0 comments on commit d12cf1b

Please sign in to comment.