Skip to content

Instantly share code, notes, and snippets.

"""
A command tool that generates fixture data (json)
based from existing Models. This can be helpful when
doing testing.
"""
from django.core.management.base import BaseCommand
from django.db import models
from django.db.utils import DatabaseError