We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07525fe commit 1b04e9cCopy full SHA for 1b04e9c
tests/model_fields_/models.py
@@ -94,17 +94,8 @@ class ArrayEnumModel(models.Model):
94
95
96
# EmbeddedModelField
97
-class DecimalModel(models.Model):
98
- decimal = models.DecimalField(max_digits=9, decimal_places=2)
99
-
100
101
-class DecimalKey(models.Model):
102
- decimal = models.DecimalField(max_digits=9, decimal_places=2, primary_key=True)
103
104
105
class EmbeddedModelFieldModel(models.Model):
106
simple = EmbeddedModelField("EmbeddedModel", null=True, blank=True)
107
- decimal_parent = EmbeddedModelField(DecimalKey, null=True, blank=True)
108
109
110
class EmbeddedModel(models.Model):
0 commit comments