# First app and First Problem?

**URL:** <https://forum.djangoproject.com/t/first-app-and-first-problem/9141>\
**Category:** Using Django\
**Created:** [August 8, 2021, 9:55am UTC](https://forum.djangoproject.com/t/first-app-and-first-problem/9141 "2021-08-08T09:55:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prusaseo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/prusaseo/32/5406_2.png) [@Prusaseo](https://forum.djangoproject.com/u/Prusaseo)\
**Post date:** [August 8, 2021, 9:55am UTC](https://forum.djangoproject.com/t/first-app-and-first-problem/9141/1 "2021-08-08T09:55:40Z")

</div>

Hi my friend,  
I am new at python and i made these steps but hello world cant run…  
First of all i will write what i made…

- i am using windows 8.1 and open the cmd make new folder on the desktop and name is piton
- and then cd desktop → cd piton and then pip install virtualenv
- and then virtualenv sanal\_ortam #sanal\_ortam is the name of the virtualenv
- and then cd sanal\_ortam and then scripts and activate #everything is ok…
- i returned the cd piton and pip install django
- and then django-admin startproject sitem
- and then cd sitem and python manage.py runserver  
-and django installed and works…

Second part

- django-admin startapp ilkuygulama
- i open the visual studio code and ilkuygulama–\> views.py file i wrote these codes

```auto
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.

def anasayfaView(request):
    return HttpResponse('Hello World.')

```

- and then ilkuygulama–\>urls.py file i wrote these codes

```auto
from django.urls import path
from .views import anasayfaView

urlpatterns=[
    path('', anasayfaView, name="anasayfa")
]

```

- and then sitem–\>urls.py i wrote these codes

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

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

```

and python manage.py runserver i did

but still nothing, still The install worked successfully! Congratulations! page on the browser…

Where i did mistake?

---

<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:** [August 8, 2021, 1:06pm UTC](https://forum.djangoproject.com/t/first-app-and-first-problem/9141/2 "2021-08-08T13:06:54Z")

</div>

Did you add `ilkuygulama` to your project’s INSTALLED\_APPS settings?

---

<div class="post-metadata">

**Author:** ![Prusaseo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/prusaseo/32/5406_2.png) [@Prusaseo](https://forum.djangoproject.com/u/Prusaseo)\
**Post date:** [August 8, 2021, 1:28pm UTC](https://forum.djangoproject.com/t/first-app-and-first-problem/9141/3 "2021-08-08T13:28:23Z")

</div>

hi my friend, i added to installed app and solved. Thanks a lot 😀
