daily pastebin goal
58%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from django.db import models
  2.  
  3. class QCM(models.Model):
  4.     title = models.CharField(max_length=200)
  5.  
  6. class Question(models.Model):
  7.     qcm = models.ForeignKey(QCM)
  8.     label = models.TextField()
  9.  
  10. class Answer(models.Model):
  11.     question = models.ForeignKey(Question)
  12.     label = models.TextField()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top