          if not getattr(view, 'get_serializer', None):
              return self.get_generic_content_form(view)
  
          #  We need to map our Fields to Django's Fields.
          field_mapping = dict([
              [serializers.FloatField.__name__, forms.FloatField],
              [serializers.IntegerField.__name__, forms.IntegerField],
              [serializers.DateTimeField.__name__, forms.DateTimeField],
              [serializers.DateField.__name__, forms.DateField],
              [serializers.EmailField.__name__, forms.EmailField],
              [serializers.CharField.__name__, forms.CharField],
              [serializers.BooleanField.__name__, forms.BooleanField]
          ])
  
          # Creating an on the fly form see: http://stackoverflow.com/questions/3915024/dynamically-creating-classes-python
          fields = {}
          obj, data = None, None
          if getattr(view, 'object', None):
 
</s> remove         for k, v in serializer.fields.items():
 </s> add         for k, v in serializer.get_fields(True).items(): </s> remove             fields[k] = field_mapping[v.__class__.__name__]()
 </s> add             try:
                fields[k] = field_mapping[v.__class__]()
            except KeyError:
                fields[k] = forms.CharField </s> remove         field_mapping = dict([
            [models.FloatField, FloatField],
            [models.IntegerField, IntegerField],
            [models.DateTimeField, DateTimeField],
            [models.DateField, DateField],
            [models.EmailField, EmailField],
            [models.CharField, CharField],
            [models.CommaSeparatedIntegerField, CharField],
            [models.BooleanField, BooleanField]
        ])
 </s> add         field_mapping = {
            models.FloatField: FloatField,
            models.IntegerField: IntegerField,
            models.DateTimeField: DateTimeField,
            models.DateField: DateField,
            models.EmailField: EmailField,
            models.CharField: CharField,
            models.CommaSeparatedIntegerField: CharField,
            models.BooleanField: BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
          if not getattr(view, 'get_serializer', None):
              return self.get_generic_content_form(view)
  
          #  We need to map our Fields to Django's Fields.
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
        # TODO: Remove this and just render serializer fields directly
        field_mapping = {
            serializers.FloatField: forms.FloatField,
            serializers.IntegerField: forms.IntegerField,
            serializers.DateTimeField: forms.DateTimeField,
            serializers.DateField: forms.DateField,
            serializers.EmailField: forms.EmailField,
            serializers.CharField: forms.CharField,
            serializers.BooleanField: forms.BooleanField
        }
  
          # Creating an on the fly form see: http://stackoverflow.com/questions/3915024/dynamically-creating-classes-python
          fields = {}
          obj, data = None, None
          if getattr(view, 'object', None):
keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Stopgap fix for model fields rendering in browseable API 
rest_framework/renderers.py