Commit 737b184d authored by Tom Christie's avatar Tom Christie Committed by Markus Holtermann
Browse files

Improved nested ArrayField example

parent 20eb51ce
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -40,9 +40,11 @@ ArrayField
            class ChessBoard(models.Model):
                board = ArrayField(
                    ArrayField(
                        CharField(max_length=10, blank=True, null=True),
                        size=8),
                    size=8)
                        models.CharField(max_length=10, blank=True),
                        size=8,
                    ),
                    size=8,
                )

        Transformation of values between the database and the model, validation
        of data and configuration, and serialization are all delegated to the