Install Django
Create a new Django project.
Create a new app
Modify the models.py
file in your myapp
folder.
Apply migrations and create the database.
Create a simple view in myapp/views.py.
Create a template in myapp/templates/myapp/index.html.
Configure the URLs
Configure the URLs in myapp/urls.py.
Include the app's URLs in the project's urls.py.
Run the development server:
Now, you can visit http://localhost:8000
in your browser and see the simple Django app in action.