title: How to using django-taggit in DRF
body: <p>I am having trouble to serialize the tags from django-taggit. 
  I followed the instruction from <a href="http://blog.pedesen.de/2013/07/06/Using-django-rest-framework-with-tagged-items-django-taggit/" rel="nofollow">here</a>, but it is outdated. </p>
  
  <p>Here is what I did:</p>
  
  <h1>views.py</h1>
  
  <pre><code>class TagsSerializer(serializers.WritableField):
  
      def from_native(self, data):
          if type(data) is not list:
              raise ParseError("expected a list of data")
          return data
  
      def to_native(self, obj):
          if type(obj) is not list:
              return [tag.name for tag in obj.all()]
          return obj
  </code></pre>
  
  <p>I got this error :</p>
  
  <blockquote>
    <p>'module' object has no attribute 'WritableField</p>
  </blockquote>
  
  <p>Apparently the WritableField is deprecated. </p>
  
  <p>I am using django 1.8, DRF 3.2 and django-taggit-0.17.</p>