toastdriven/django-tastypie — pull request #946 by w43l (2013-05-24 15:31:19+00:00)
Title: error importing username_field 

on Django 1.5 when using a custom user model an error occurs when importing create_api_key.

added a None value for username_field

same error in Ticket #937