Skip to content

Commit ed404f5

Browse files
authored
docs: lint fix for samples (#697)
1 parent a8f2aac commit ed404f5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/samples.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ the following two models:
1313
from django.db import models
1414
1515
class Question(models.Model):
16-
question_text = models.CharField(max_length=200)
17-
pub_date = models.DateTimeField('date published')
18-
def __str__(self):
19-
return str(self.rating)
16+
question_text = models.CharField(max_length=200)
17+
pub_date = models.DateTimeField('date published')
18+
def __str__(self):
19+
return str(self.rating)
2020
2121
class Choice(models.Model):
22-
question = models.ForeignKey(Question, on_delete=models.CASCADE)
23-
choice_text = models.CharField(max_length=200)
24-
votes = models.IntegerField(default=0)
22+
question = models.ForeignKey(Question, on_delete=models.CASCADE)
23+
choice_text = models.CharField(max_length=200)
24+
votes = models.IntegerField(default=0)

0 commit comments

Comments
 (0)