- Popular high level backend server side Python Web framwork
- Free and Opensource
- Build websites and RestAPIs
- Follows the MVT (Model View Template) design pattern.
- Comes with inbuilt Database Backend.
- Supports database systems including SQL, MySQL, Oracle, Postgres, etc.
- Supports multilingual websites.
- Provides a ready-to-use Administration GUI.
- Popular Django applications include Instagram, Mozilla, Spotify, Pinterest.
- Select a path in the commandline where you'll need your django application.
- Create a project directory.
mkdir django_auth
-
cd django_auth
- Create virtual envvironment.
python -m venv .venv
-
.venv\Scripts\Activate.ps1
- Install Django. (.venv) > python -m pip install django
- (.venv) > django-admin startproject django_project .
- (.venv) > python manage.py migrate
- (.venv) > python manage.py runserver
Navigate to http://127.0.0.1:8000, you'll see the Django default screen.