Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. It takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel.
Django is a full-featured web framework that follows the Model-View-Controller (MVC) architectural pattern. It provides a set of tools and libraries for building web applications, including an ORM, a templating engine, and a built-in admin interface.
To get started with Django, youβll need to install Python and create a virtual environment. You can create a virtual environment using the following commands:
# Windows
python -m venv .venv# Linux/MacOS
python3 -m venv .venvBut for this time, I used uv to manage virtual environment and other tools. Itβs ridiculously easy and fast and cross-platform.
Now that you have a virtual environment set up, you can install Django using the following command:
uv pip install djangoTo create a Django project, you can use the following command:
django-admin startproject ProjectOnecd ProjectOne
To start a Django development server, you can use the following command:
python manage.py runserverπ Happy Experimenting! π
May your bugs be few and your features many!
βββ πdjango
βββ π.vscode
βββ settings.json
βββ πProjectOne
βββ πbatman
βββ __init__.py
βββ π__pycache__
βββ __init__.cpython-313.pyc
βββ admin.cpython-313.pyc
βββ apps.cpython-313.pyc
βββ forms.cpython-313.pyc
βββ models.cpython-313.pyc
βββ urls.cpython-313.pyc
βββ views.cpython-313.pyc
βββ admin.py
βββ apps.py
βββ forms.py
βββ πmigrations
βββ __init__.py
βββ π__pycache__
βββ __init__.cpython-313.pyc
βββ 0001_initial.cpython-313.pyc
βββ 0002_savegotham_description.cpython-313.pyc
βββ 0003_alter_savegotham_type.cpython-313.pyc
βββ 0004_candidatereviews_specialability_villainalliances.cpython-313.pyc
βββ 0005_rename_villains_villainalliances_hero_and_more.cpython-313.pyc
βββ 0006_rename_hero_villainalliances_heros.cpython-313.pyc
βββ 0007_heroesalliances_delete_villainalliances.cpython-313.pyc
βββ 0008_rename_candidatereviews_candidatereview_and_more.cpython-313.pyc
βββ 0001_initial.py
βββ 0002_savegotham_description.py
βββ 0003_alter_savegotham_type.py
βββ 0004_candidatereviews_specialability_villainalliances.py
βββ 0005_rename_villains_villainalliances_hero_and_more.py
βββ 0006_rename_hero_villainalliances_heros.py
βββ 0007_heroesalliances_delete_villainalliances.py
βββ 0008_rename_candidatereviews_candidatereview_and_more.py
βββ models.py
βββ πtemplates
βββ πbatman
βββ im_batman.html
βββ villains.html
βββ weapon_details.html
βββ tests.py
βββ urls.py
βββ views.py
βββ db.sqlite3
βββ manage.py
βββ πmedia
βββ πsave-gotham
βββ alfred_pennyworth_gJM3LhW.png
βββ alfred_pennyworth_NJRxiy4.png
βββ alfred_pennyworth.png
βββ bruce_wayne.png
βββ elon_musk_14Lb2aH.png
βββ elon_musk_9TurQhc.png
βββ elon_musk_hLvBVk7.png
βββ elon_musk.png
βββ github_shipit.png
βββ πProjectOne
βββ __init__.py
βββ π__pycache__
βββ __init__.cpython-313.pyc
βββ settings.cpython-313.pyc
βββ urls.cpython-313.pyc
βββ views.cpython-313.pyc
βββ wsgi.cpython-313.pyc
βββ asgi.py
βββ settings.py
βββ urls.py
βββ views.py
βββ wsgi.py
βββ πstatic
βββ style.css
βββ πtemplates
βββ layout.html
βββ πwebsite
βββ index.html
βββ πtheme
βββ __init__.py
βββ π__pycache__
βββ __init__.cpython-313.pyc
βββ apps.cpython-313.pyc
βββ apps.py
βββ πstatic
βββ πstatic_src
βββ .gitignore
βββ package-lock.json
βββ package.json
βββ postcss.config.js
βββ πsrc
βββ styles.css
βββ πcss
βββ πtemplates
βββ base.html
βββ README.md