# Path: dju_common/fields/json.py
# class JSONField(JSONFieldBase, models.TextField):
#     pass
# 
# class JSONCharField(JSONFieldBase, models.CharField):
#     pass


from django.db import models
from dju_common.fields.json import JSONField, JSONCharField


def get_default():
    return [1, 2, 3]


class JsonTestModel(models.Model):
    json_1 = JSONField()  # default=None
    json_2 = JSONField(default=[])

# Path: dju_common/fields/json.py
# class JSONField(JSONFieldBase, models.TextField):
#     pass
# 
# class JSONCharField(JSONFieldBase, models.CharField):
#     pass


# Path: tests/models.py
from django.db import models
from dju_common.fields.json import JSONField, JSONCharField



def get_default():
    return [1, 2, 3]


class JsonTestModel(models.Model):
    json_1 = JSONField()  # default=None
    json_2 = JSONField(default=[])

    json_3 = JSONField(default={})