title: Django Models not working: module 'django.contrib.admin' has no attribute 'Modeladmin'
body: <p>I am making a eCommerce website from a youtube tutorial and I have an error that is really bugging me around.</p>
  
  <p>I tried google but it didn't work. Then I tried messing with Django but that made it worse, so I changed it back.</p>
  
  <p>This is the code for admin.py:</p>
  
  <pre><code>from django.contrib import admin
  
  # Register your models here.
  from .models import profiles
  
  class profileadmin(admin.Modeladmin):
      class Meta:
          model = profiles
  
  admin.site.register(profiles, profileadmin)
  </code></pre>
  
  <p>The full error message is this:</p>
  
  <pre><code>Unhandled exception in thread started by &lt;function check_errors.&lt;locals&gt;.wrapper at 0x03ED28A0&gt;
  Traceback (most recent call last):
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
      fn(*args, **kwargs)
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run
      autoreload.raise_last_exception()
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\utils\autoreload.py", line 248, in raise_last_exception
      raise _exception[1]
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\management\__init__.py", line 337, in execute
      autoreload.check_errors(django.setup)()
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\utils\autoreload.py", line 225, in wrapper
      fn(*args, **kwargs)
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\__init__.py", line 24, in setup
      apps.populate(settings.INSTALLED_APPS)
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\apps\registry.py", line 120, in populate
      app_config.ready()
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\contrib\admin\apps.py", line 24, in ready
      self.module.autodiscover()
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\contrib\admin\__init__.py", line 26, in autodiscover
      autodiscover_modules('admin', register_to=site)
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\utils\module_loading.py", line 47, in autodiscover_modules
      import_module('%s.%s' % (app_config.name, module_to_search))
    File "C:\Users\roche\AppData\Local\Programs\Python\Python37-32\lib\importlib\__init__.py", line 127, in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
    File "&lt;frozen importlib._bootstrap&gt;", line 1006, in _gcd_import
    File "&lt;frozen importlib._bootstrap&gt;", line 983, in _find_and_load
    File "&lt;frozen importlib._bootstrap&gt;", line 967, in _find_and_load_unlocked
    File "&lt;frozen importlib._bootstrap&gt;", line 677, in _load_unlocked
    File "&lt;frozen importlib._bootstrap_external&gt;", line 728, in exec_module
    File "&lt;frozen importlib._bootstrap&gt;", line 219, in _call_with_frames_removed
    File "C:\Users\roche\WebApp\WebApp\profiles\admin.py", line 6, in &lt;module&gt;
      class profileadmin(admin.Modeladmin):
  AttributeError: module 'django.contrib.admin' has no attribute 'Modeladmin'
  </code></pre>