A Django database field for storing YAML data
Install this module
pipenv install django-yamlfield
Add it to one of your models.
from django.db import models from yamlfield.fields import YAMLField class YourModel(models.Model): yaml = YAMLField()
That's it! You can now start storing YAML data.
This module was developed by Ben Welsh, based on Brad Jasper's django-jsonfield.