title: how to get field type string from db model in django
body: <p>I am doing the following:</p>
  
  <pre><code>model._meta.get_field('g').get_internal_type
  </code></pre>
  
  <p>Which returns the following:</p>
  
  <pre><code>&lt;bound method URLField.get_internal_type of &lt;django.db.models.fields.URLField: g&gt;&gt;
  </code></pre>
  
  <p>I only want the know that this field is "URLField" .  How do I extract that from this output?</p>
  
  <p><em>Note: I am doing this so that I can do validation on the fields. For example if a url , I want to check if it is well formed.</em>  </p>