Django Tutorial 1 - ImportError: No module named apps
<p>I am following this Tutorial:
<a href="https://docs.djangoproject.com/en/1.10/intro/tutorial02/" rel="nofollow">https://docs.djangoproject.com/en/1.10/intro/tutorial02/</a></p>

<p>In subsection <em>"Activating models"</em> i should add some code in the </p>

<blockquote>
  <p>mysite/settings.py</p>
</blockquote>

<pre><code>INSTALLED_APPS = [
  'polls.apps.PollsConfig',
  'django.contrib.admin',
  'django.contrib.auth',
  'django.contrib.contenttypes',
  'django.contrib.sessions',
  'django.contrib.messages',
  'django.contrib.staticfiles',
]
</code></pre>

<p>when i run the command</p>

<pre><code>python manage.py makemigrations polls
</code></pre>

<p>i get the following errormessage</p>

<pre><code>Traceback (most recent call last):
  File "manage.py", line 10, in &lt;module&gt;
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 328, in execute
    django.setup()
  File "/usr/lib/python2.7/dist-packages/django/__init__.py", line 18, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python2.7/dist-packages/django/apps/registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "/usr/lib/python2.7/dist-packages/django/apps/config.py", line 112, in create
    mod = import_module(mod_path)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named apps
</code></pre>

<p>i don't have a folder or a file called "apps" in my "polls" folder, so i am wondering about the "polls.apps.PollsConfig" syntax. i found some posts in the web telling that in django version 1.7 there where some changes.</p>

<p>I am using:</p>

<ul>
<li>Ubuntu 16.04 LTS</li>
<li>Python 2.7.11+</li>
<li>django.VERSION (1, 8, 7, 'final', 0)</li>
</ul>

<p>You're using a newer version of Django, who doesn't create the app.py configuration file in the folder because the old structure is different. You've two options:</p>

<p>1) Change the documentation version to 1.8</p>

<p>2) [RECOMMENDED] use the latest version of Django</p>

python django