Skip to content

Commit

Permalink
Add compatibility with pythonic resource models
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Oct 30, 2024
1 parent 00f40a5 commit 304f588
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arches_references/datatypes/datatypes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import uuid

from django.db.models.fields.json import JSONField
from django.utils.translation import get_language, gettext as _

from arches.app.datatypes.base import BaseDataType
Expand All @@ -9,6 +10,8 @@


class ReferenceDataType(BaseDataType):
_rest_framework_model_field = JSONField(null=True)

def validate(
self,
value,
Expand Down

0 comments on commit 304f588

Please sign in to comment.