myyang / django-pb-model

Protobuf mixin for django model
Other
112 stars 22 forks source link

JSON filed in protobuff message #2

Closed maruthi8 closed 6 years ago

maruthi8 commented 6 years ago

`class ChoiceQuestionModel(models.Model):

answer_choices = JSONField(null=True, blank=True)  # required
expected_correct_answers_count = models.PositiveIntegerField(default=0)`

How can i write message for JSONField or i how can i include jsonfield in protobuff message?

myyang commented 6 years ago

Please see README, you may need some implementation by yourself. 😸