From 6938f776d7fa010ac7488a20e93920980f32d275 Mon Sep 17 00:00:00 2001 From: Vikash Singh <3116482+vi3k6i5@users.noreply.github.com> Date: Tue, 3 Aug 2021 18:48:59 +0530 Subject: [PATCH] docs: lint fix for samples --- 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)