Skip to content

Commit

Permalink
Merge pull request #36 from annshress/master
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
yashrastogi16 committed Oct 2, 2018
2 parents 21cb13c + 14c5c73 commit a191e87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/setup-models-admin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ These models are the same as you would have seen in the Django introduction tuto
class Choice(models.Model):
poll = models.ForeignKey(Poll, related_name='choices',on_delete=models.CASCADE)
poll = models.ForeignKey(Poll, related_name='choices', on_delete=models.CASCADE)
choice_text = models.CharField(max_length=100)
def __str__(self):
Expand Down
2 changes: 1 addition & 1 deletion docs/views-and-generic-views.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ You will get a response like this
.. code-block:: json
{
"poll": [
"choice_text": [
"This field is required."
]
}
Expand Down

0 comments on commit a191e87

Please sign in to comment.