anentropic/django-tastypie — pull request #1 by anentropic (2012-03-20 19:12:10+00:00)
Title: AutoField is also an integer type

currently pk values are output as strings by ModelResource, because django AutoField is not recognised as an integer field type and falls through to the default tastypie CharField

but Django docs explicitly define AutoField as an integer, so I think it's correct to recognise it as one in `api_field_from_django_field`

https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.AutoField