  class Person(RESTFrameworkModel):
      name = models.CharField(max_length=10)
      age = models.IntegerField(null=True, blank=True)
  
  
  # Model for issue #324
  class BlankFieldModel(RESTFrameworkModel):
      title = models.CharField(max_length=100, blank=True)
 
</s>
    @property
    def info(self):
        return {
            'name': self.name,
            'age': self.age,
        }

  class Person(RESTFrameworkModel):
      name = models.CharField(max_length=10)
      age = models.IntegerField(null=True, blank=True)
  
    @property
    def info(self):
        return {
            'name': self.name,
            'age': self.age,
        }

  
  # Model for issue #324
  class BlankFieldModel(RESTFrameworkModel):
      title = models.CharField(max_length=100, blank=True)
keep keep keep add keep keep keep keep
 Added test that makes sure that fields with
dictionaries as data are returned as expected and
not turned into string representations
rest_framework/tests/models.py