diff --git a/docs/docs/integrating-django-with-mongodb.md b/docs/docs/integrating-django-with-mongodb.md index f54c8ac85070eb2016cbf8833691b296bd4452be..6793517597187966c30d9eb14011a7ea018f6469 100644 --- a/docs/docs/integrating-django-with-mongodb.md +++ b/docs/docs/integrating-django-with-mongodb.md @@ -85,6 +85,34 @@ Djongo allows for checks on data fields before they are saved to the database. R Apply validators on each of the field values before they are saved. +### Integrity checks + +```python +class Entry(models.Model): + _id = models.ObjectIdField() + blog = models.EmbeddedField( + model_container=Blog, + null=True + ) +``` +## Rapid Prototyping + +### Goodbye Migrations + +## Using MongoDB fields + +## Simplify complex queries + +## Django Admin + +## Data security and integrity checks +Djongo allows for checks on data fields before they are saved to the database. Running accurate integrity checks and field value validators before writing data into the database is extremely important. + + +### Validators +Apply validators on each of the field values before they are saved. + + ### Integrity checks ```python