title: from models import Category ModuleNotFoundError: No module named 'models' using Django
body: <p>settings.py:</p>
  <pre><code>from django.apps import AppConfig
  class CategoryConfig(AppConfig):
      default_auto_field = 'django.db.models.BigAutoField'
      name = 'api.category'
  </code></pre>
  <p>models.py:</p>
  <pre><code>from django.db import models
  
  
  class Category(models.Model):
      name = models.CharField(max_length=50)
      description = models.CharField(max_length=250)
      created_at = models.DateTimeField(auto_now_add=True)
      updated_at = models.DateTimeField(auto_now=True)
  </code></pre>
  <p>admin.py code:</p>
  <pre><code>from django.contrib import admin
  from models import Category
  admin.site.register(Category)
  </code></pre>
  <p>apps.py:</p>
  <pre><code>from django.apps import AppConfig
  class CategoryConfig(AppConfig):
      default_auto_field = 'django.db.models.BigAutoField'
      name = 'api.category'
  </code></pre>
  <p>Error in the terminal:</p>
  <blockquote>
  <p><em>File &quot;/home/kickme/Desktop/lcodev/ecom/api/category/admin.py&quot;, line 2,</em>
  <em>in </em>
  <em>from models import Category ModuleNotFoundError: No module named 'models'</em></p>
  </blockquote>