From ed404f57ed4a23c7b60f4f9c238f5b5fa9f81d0c Mon Sep 17 00:00:00 2001 From: Vikash Singh <3116482+vi3k6i5@users.noreply.github.com> Date: Fri, 6 Aug 2021 11:00:29 +0530 Subject: [PATCH] docs: lint fix for samples (#697) --- docs/samples.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/samples.rst b/docs/samples.rst index 4d9ef417a2..3e20575e24 100644 --- a/docs/samples.rst +++ b/docs/samples.rst @@ -13,12 +13,12 @@ the following two models: from django.db import models class Question(models.Model): - question_text = models.CharField(max_length=200) - pub_date = models.DateTimeField('date published') - def __str__(self): - return str(self.rating) + question_text = models.CharField(max_length=200) + pub_date = models.DateTimeField('date published') + def __str__(self): + return str(self.rating) class Choice(models.Model): - question = models.ForeignKey(Question, on_delete=models.CASCADE) - choice_text = models.CharField(max_length=200) - votes = models.IntegerField(default=0) + question = models.ForeignKey(Question, on_delete=models.CASCADE) + choice_text = models.CharField(max_length=200) + votes = models.IntegerField(default=0)