title: Django get field's name from Field object
body: <p>I am trying to find out the recommended way of getting a model field's name from a <code>Field</code> object.</p>
  
  <p>It seems <code>field.name</code> works (which I found out from some SO posts) if <code>field</code> is the object name but surprisingly its not mentioned anywhere in the <a href="https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.Field" rel="noreferrer">docs</a>, so want to know if its still the best way or am I missing something obvious?</p>