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