Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: lint fix for samples (#697)
  • Loading branch information
vi3k6i5 committed 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
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.