Django: Create Project

To start a project we’ll create a new project, create a database, and start a development server.

Create a new project startproject learning_log .

Create a database

python migrate

View the project.

After issuing this command, you can view the project at http://localhost:8000/.

python runserver

Create a new app

A Django project is made up of one or more apps.

python startapp learning_logs

Leave a Reply

Your email address will not be published. Required fields are marked *