Kaydet (Commit) 737b184d authored tarafından Tom Christie's avatar Tom Christie Kaydeden (comit) Markus Holtermann

Improved nested ArrayField example

üst 20eb51ce
...@@ -40,9 +40,11 @@ ArrayField ...@@ -40,9 +40,11 @@ ArrayField
class ChessBoard(models.Model): class ChessBoard(models.Model):
board = ArrayField( board = ArrayField(
ArrayField( ArrayField(
CharField(max_length=10, blank=True, null=True), models.CharField(max_length=10, blank=True),
size=8), size=8,
size=8) ),
size=8,
)
Transformation of values between the database and the model, validation Transformation of values between the database and the model, validation
of data and configuration, and serialization are all delegated to the of data and configuration, and serialization are all delegated to the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment