text: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import models
  
  # Create your models here.
  class Question(models.Model):
  	question_text = models.CharField(max_length=255)
  	created_at = models.DateTimeField(auto_now_add=True)
  	updated_at = models.DateTimeField(auto_now=True)
  
  	def __str__(self):
  		return "{question_text}".format(question_text=self.question_text)
  
  class Choice(models.Model):
  	question = models.ForeignKey(Question, on_delete=models.CASCADE)
  	choice_text = models.CharField(max_length=255)
  
  	def __str__(self):
  		return "{choice_text}".format(choice_text=self.choice_text)
  
  