class Option models Model title models CharField maxlength 100 current

1
2
3
4
5
6
7
class Option(models.Model):
title = models.CharField(maxlength=100)
current_value = models.ForeignKey(Value)# тут ругается
class Value(models.Model):
title = models.CharField(maxlength=100)
option = models.ForeignKey(Option)