Create the App
In this lesson, you’re going to create your first Django app. The command you need to use is
python manage.py startapp projects. You’re going to start by creating this app and will later flesh it out, as you saw in the first section of this course.
Head over to
projects and see your page running. You’ll get a message telling you that this site can’t be reached. You stopped the development server, so it’s not currently running. You can start solving this problem by opening up an extra terminal tab and starting your development server with
python manage.py runserver and just keeping it running.
When you reload the page, you still get an error message. It turns out that the URL isn’t pointing to anything. The error message points you toward
portfolio.urls. Take a look at
urls.py in the
Comments & Discussion
Become a Member to join the conversation.