RemovedInDjango19Warning, stacklevel set to integer 2. for field_name every obj in list created from the elements of the return value of the function six.iteritems with an argument attrs.
fields = [ ( field_name , attrs . pop ( field_name ) ) for field_name , obj in list ( six . iteritems ( attrs ) ) if isinstance ( obj , Field ) ]