# Tutorial is incosistent with playground

**URL:** <https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029>\
**Category:** Getting Started\
**Created:** [July 25, 2022, 1:22pm UTC](https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029 "2022-07-25T13:22:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![omarbaibaa](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/omarbaibaa/32/9409_2.png) [@omarbaibaa](https://forum.djangoproject.com/u/omarbaibaa)\
**Post date:** [July 25, 2022, 1:22pm UTC](https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029/1 "2022-07-25T13:22:39Z")

</div>

Hi there,  
I am new to the framework, and I wanted to go throu the tutorials and get an idea of things work.  
Unfortunatly I couldnt get passed the polls example.  
Any help would be appriciated.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [July 25, 2022, 2:02pm UTC](https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029/2 "2022-07-25T14:02:07Z")

</div>

Please be more specific here. Provide the details of what you have done and any errors you are receiving. Please also identify what operating system, version of Python, version of Django you are using and how you have them installed.

---

<div class="post-metadata">

**Author:** ![omarbaibaa](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/omarbaibaa/32/9409_2.png) [@omarbaibaa](https://forum.djangoproject.com/u/omarbaibaa)\
**Post date:** [July 26, 2022, 6:31pm UTC](https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029/3 "2022-07-26T18:31:10Z")

</div>

I am running version 4.0.6 on window

 ![Screenshot_٢٠٢٢٠٧٢٦-١٩٢٧٤٢_Chrome](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/2X/1/1ec34e0b265ece59945aa8c972b6086ef1bdf504.jpeg)

Here I dont know which directory I meant to go.  
Should I creat a new file called `urls.py` in the outter `mysite` folder, or should I go to the inner `mysite` folder and modify its content.

Thanks

---

<div class="post-metadata">

**Author:** ![omarbaibaa](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/omarbaibaa/32/9409_2.png) [@omarbaibaa](https://forum.djangoproject.com/u/omarbaibaa)\
**Post date:** [July 26, 2022, 6:45pm UTC](https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029/4 "2022-07-26T18:45:40Z")

</div>

Because I did modify the inner `mysite.urls` and got a syntaxt error:  
`url(r'^admin/', admin.site.urls`  
And it indicates that the error comes from `url`

---

<div class="post-metadata">

**Author:** ![omarbaibaa](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/omarbaibaa/32/9409_2.png) [@omarbaibaa](https://forum.djangoproject.com/u/omarbaibaa)\
**Post date:** [July 26, 2022, 9:02pm UTC](https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029/5 "2022-07-26T21:02:36Z")

</div>

`from django.conf.urls import urls from django.contrib import admin from django.urls import include, path urlpatterns = [path('polls/', include('polls/urls')), url(r'^admin/', admin.site.urls),]`  
Now it is raising this error:  
ImportError: cannot import name include

---

<div class="post-metadata">

**Author:** ![omarbaibaa](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/omarbaibaa/32/9409_2.png) [@omarbaibaa](https://forum.djangoproject.com/u/omarbaibaa)\
**Post date:** [July 26, 2022, 10:29pm UTC](https://forum.djangoproject.com/t/tutorial-is-incosistent-with-playground/15029/6 "2022-07-26T22:29:15Z")

</div>

Hi I fixed it with terminal and virtual environment.  
Vscode somehow does not allow me to activate the virtual env.
