Patrick Arminio
1 year ago
Failed to extract signature
1 changed files with
0 additions and
4 deletions
-
docs_src/django_orm/polls/models.py
|
|
@ -1,7 +1,4 @@ |
|
|
|
import datetime |
|
|
|
|
|
|
|
from django.db import models |
|
|
|
from django.utils import timezone |
|
|
|
|
|
|
|
|
|
|
|
class Question(models.Model): |
|
|
@ -13,4 +10,3 @@ class Choice(models.Model): |
|
|
|
question = models.ForeignKey(Question, on_delete=models.CASCADE) |
|
|
|
choice_text = models.CharField(max_length=200) |
|
|
|
votes = models.IntegerField(default=0) |
|
|
|
|
|
|
|