# Doubt regarding Tutorial for polls app part-2

**URL:** <https://forum.djangoproject.com/t/doubt-regarding-tutorial-for-polls-app-part-2/23185>\
**Category:** Getting Started\
**Created:** [August 19, 2023, 6:43am UTC](https://forum.djangoproject.com/t/doubt-regarding-tutorial-for-polls-app-part-2/23185 "2023-08-19T06:43:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prp7](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/prp7/32/15452_2.png) [@prp7](https://forum.djangoproject.com/u/prp7)\
**Post date:** [August 19, 2023, 6:43am UTC](https://forum.djangoproject.com/t/doubt-regarding-tutorial-for-polls-app-part-2/23185/1 "2023-08-19T06:43:46Z")

</div>

In [this](https://docs.djangoproject.com/en/4.2/intro/tutorial02/#activating-models) part of Writing your first Django app, part 2 we have to include the polls app in included app so I put that in

```auto
INSTALLED_APPS = [
    'polls.apps.PollsConfig'
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
]

```

but when I makemigrations I get an error as follows:

Traceback (most recent call last):  
File “C:\param\ven1\sports\_fest\manage.py”, line 22, in   
main()  
File “C:\param\ven1\sports\_fest\manage.py”, line 18, in main  
execute\_from\_command\_line(sys.argv)  
File “C:\param\ven1\Lib\site-packages\django\core\management\__init_\_.py”, line 442, in execute\_from\_command\_line  
utility.execute()  
File “C:\param\ven1\Lib\site-packages\django\core\management\__init_\_.py”, line 416, in execute  
django.setup()  
File “C:\param\ven1\Lib\site-packages\django\__init_\_.py”, line 24, in setup  
apps.populate(settings.INSTALLED\_APPS)  
File “C:\param\ven1\Lib\site-packages\django\apps\registry.py”, line 91, in populate  
app\_config = AppConfig.create(entry)  
^^^^^^^^^^^^^^^^^^^^^^^  
File “C:\param\ven1\Lib\site-packages\django\apps\config.py”, line 193, in create  
import\_module(entry)  
File “C:\Users\rames\AppData\Local\Programs\Python\Python311\Lib\importlib\__init_\_.py”, line 126, in import\_module  
return \_bootstrap.\_gcd\_import(name[level:], package, level)  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
File “”, line 1204, in \_gcd\_import  
File “”, line 1176, in \_find\_and\_load  
File “”, line 1126, in \_find\_and\_load\_unlocked  
File “”, line 241, in \_call\_with\_frames\_removed  
File “”, line 1204, in \_gcd\_import  
File “”, line 1176, in \_find\_and\_load  
File “”, line 1126, in \_find\_and\_load\_unlocked  
File “”, line 241, in \_call\_with\_frames\_removed  
File “”, line 1204, in \_gcd\_import  
File “”, line 1176, in \_find\_and\_load  
File “”, line 1135, in \_find\_and\_load\_unlocked  
ModuleNotFoundError: No module named ‘polls.apps.PollsConfigdjango’; ‘polls.apps’ is not a package

I am unable to understand why is it showing ModuleNotFoundError when I have updated the entry correctly in settings.py. Please help me with resolving this.

---

<div class="post-metadata">

**Author:** ![antoinehumbert](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/antoinehumbert/32/14851_2.png) [@antoinehumbert](https://forum.djangoproject.com/u/antoinehumbert)\
**Post date:** [August 19, 2023, 7:36am UTC](https://forum.djangoproject.com/t/doubt-regarding-tutorial-for-polls-app-part-2/23185/2 "2023-08-19T07:36:14Z")

</div>

You missed a comma at the end of the first entry line.

> [@prp7](#):
>
> ```auto
> INSTALLED_APPS = [
> 'polls.apps.PollsConfig', # do not forget comma
> 'django.contrib.admin',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> ]
> 
> ```
