Say I created a django project called `django_site`.

I created two sub-projects: `site1` and `polls`.

You see that I have two `index.html` in two sub-projects directories.

However, now, if I open on web browser `localhost:8000/site1` or `localhost:8000/polls`, they all point to the `index.html` of `polls`.

How can I configure so when I open `localhost:8000/site1` it will use the `index.html` of `site1`?

My `settings.py` in `django_site` directory:

```
..
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [os.path.join(BASE_DIR, 'templates'),],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

..

```

My directory structure:

```
E:.
|   db.sqlite3
|   manage.py
|   tree.txt
|   tree1.txt
|   
+---site1
|   |   admin.py
|   |   apps.py
|   |   models.py
|   |   tests.py
|   |   urls.py
|   |   views.py
|   |   __init__.py
|   |   
|   +---migrations
|   |       __init__.py
|   |       
|   +---templates
|   |   \---site1
|   |       \---templates
|   |               index.html
|   |               
|   \---__pycache__
|           models.cpython-36.pyc
|           urls.cpython-36.pyc
|           views.cpython-36.pyc
|           __init__.cpython-36.pyc
|           
+---django_site
|   |   settings.py
|   |   urls.py
|   |   wsgi.py
|   |   __init__.py
|   |   
|   \---__pycache__
|           settings.cpython-36.pyc
|           urls.cpython-36.pyc
|           wsgi.cpython-36.pyc
|           __init__.cpython-36.pyc
|           
\---polls
    |   admin.py
    |   apps.py
    |   models.py
    |   tests.py
    |   urls.py
    |   views.py
    |   __init__.py
    |   
    +---migrations
    |   |   0001_initial.py
    |   |   0002_auto_20180214_0906.py
    |   |   __init__.py
    |   |   
    |   \---__pycache__
    |           0001_initial.cpython-36.pyc
    |           0002_auto_20180214_0906.cpython-36.pyc
    |           __init__.cpython-36.pyc
    |           
    +---static
    |       jquery-3.3.1.min.js
    |       
    +---templates
    |   \---polls
    |       \---templates
    |               index.html
    |               
    \---__pycache__
            admin.cpython-36.pyc
            apps.cpython-36.pyc
            models.cpython-36.pyc
            urls.cpython-36.pyc
            views.cpython-36.pyc
            __init__.cpython-36.pyc

```

My `urls.py` in `django_site`

```
from django.urls import include, path
from django.contrib import admin

urlpatterns = [
    path('polls/', include('polls.urls')),
    path('site1/', include('site1.urls')),
    path('admin/', admin.site.urls),
]

```

My `urls.py` in `site1` or `polls` (they are the same):

```
from django.urls import path

from . import views

urlpatterns = [
    path('', views.index, name='index'),
]

```