Skip to content

Instantly share code, notes, and snippets.

@ihfazhillah
Created July 11, 2019 04:47
Show Gist options
  • Save ihfazhillah/9b217cd4a1e6e2cef9377a3043e0f428 to your computer and use it in GitHub Desktop.
Save ihfazhillah/9b217cd4a1e6e2cef9377a3043e0f428 to your computer and use it in GitHub Desktop.
class Question(models.Model):
text = models.TextField()
quiz = models.ForeignKey(Quiz, related_name='+')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment