title: Import File in django
body: <p>Here"s an Error I have and I can't solve:</p>
  
  <p>Cannot import name "File" from 'uploadapp.models'</p>
  
  <p>The code below makes it better to understand.</p>
  
  <p>Thanks in advance for your help.</p>
  
  <pre><code>from django.db import models
  from .models import File
  
  class File(models.Model):
      file = models.FileField(blank=False, null=False)
  
      def __str__(self):
          return self.file.name
  </code></pre>