from django.db import models from django.contrib.postgres.fields import JSONField class UserProfile(models.Model): user_id = models.AutoField(primary_key=True) user_data = JSONField()