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

django-admin.py startproject learning_log .

Create a database

python manage.py migrate

View the project.

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

python manage.py runserver

Create a new app

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

python manage.py startapp learning_logs

Leave a Reply

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