title: django get_attname() to return a list with value if attribute is required
body: <p>I have this code:</p>
  <pre><code>[header.get_attname() for header in Model._meta.fields]
  </code></pre>
  <p>which returns all the attribute names of the <code>Model</code> I selected. I want to see if the attribute is required, for example, if the attribute name is a foreign key, the return should be <code>[('a_foreign_key', 'required'),...]</code></p>
  <p>right now its only returning <code>['a_foreign_key',...]</code>. Is there a way I can do this?</p>