Commit 79d0e523 authored by De Filippis Michael's avatar De Filippis Michael
Browse files

add id integerfield

parent 0d27c229
......@@ -6,6 +6,7 @@ from django.db import models
# Create your models here.
class Question(models.Model):
id = models.IntegerField(auto_created=True, primary_key=True)
created = models.DateTimeField(auto_now_add=True)
hasResponse = models.BooleanField(default=False)
question = models.CharField(max_length=100, blank=True, default='')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment