      actor = models.ForeignKey(Actor)
      title = models.CharField(max_length=50)
  
      class Meta:
         ordering = ('title',)
  
      def __unicode__(self):
 
</s> remove     if strings_only and isinstance(s, (types.NoneType, int, long, datetime.datetime, datetime.date, datetime.time, float)):
 </s> add     if strings_only and isinstance(s, (types.NoneType, int, long, datetime.datetime, datetime.date, datetime.time, float, Decimal)): </s> remove [{"pk": null, "model": "serializers.movie", "fields": {"actor": "Za\u017c\u00f3\u0142\u0107", "title": "Movie 2"}}]
 </s> add [{"pk": null, "model": "serializers.movie", "fields": {"price": "0.00", "actor": "Za\u017c\u00f3\u0142\u0107", "title": "Movie 2"}}]
    price = models.DecimalField(max_digits=6, decimal_places=2, default=Decimal('0.00'))
      actor = models.ForeignKey(Actor)
      title = models.CharField(max_length=50)
    price = models.DecimalField(max_digits=6, decimal_places=2, default=Decimal('0.00'))
  
      class Meta:
         ordering = ('title',)
  
      def __unicode__(self):
keep add keep keep keep keep keep
 Fixed #5903 -- DecimalField.get_default() now correctly returns a Decimal object when the model instance was not retrieved from the database. Thanks Justin Driscoll and pigletto.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9823 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/modeltests/serializers/models.py