Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Django-Project-Setup

Here's a step-by-step guide to set up a Django project from scratch:

  1. Prerequisites Install Python (verify version) and Virtual Environment
image image
  1. Project Setup Create Project Directory
image

Create Virtual Environment image

Install Django image

Start New Django Project image

  1. Project Structure Your structure should look like:
image

Create requirements.txt image

  1. Configure Settings Edit myproject/settings.py
image
  1. Create Your First App
image

App Structure image

Register App in Settings image

  1. Database Setup Create Initial Migrations
image

Apply Migrations image

  1. Create Superuser (Admin Access)
image
  1. Run Development Server
image

Visit: http://127.0.0.1:8000

  1. Basic Configuration Create Templates Directory
image

Update Settings for Templates image

  1. Version Control (Optional but Recommended) Initialize Git
image

Create .gitignore image

About

Here's a step-by-step guide to set up a Django project from scratch:

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors