Skip to content

Commit

Permalink
docs: lint fix for samples (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
vi3k6i5 authored Aug 6, 2021
1 parent a8f2aac commit ed404f5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/samples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ed404f5

Please sign in to comment.