This repository is a beginner-friendly Django project used for learning and practicing core Django concepts such as app structure, templates, URLs, and views.
The project contains a Django app named home and a supporting accounts app. It includes a simple page flow with:
- a home page rendered from a template
- a success page response
- Django URL routing setup
- a default SQLite database
Django-Learning/
├── .gitignore
├── README.md
└── Django/
├── Django/
│ ├── __init__.py
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── accounts/
│ ├── __init__.py
│ ├── admin.py
│ ├── apps.py
│ ├── models.py
│ ├── tests.py
│ └── views.py
├── home/
│ ├── __init__.py
│ ├── admin.py
│ ├── apps.py
�� ├── migrations/
│ ├── models.py
│ ├── templates/
│ │ └── home/
│ │ └── index.html
│ ├── tests.py
│ └── views.py
├── db.sqlite3
└── manage.py
- Python
- Django
- SQLite
- HTML
- Navigate to the Django project folder:
cd Django- Create and activate a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows- Install dependencies:
pip install django- Run the development server:
python manage.py runserver- Open the app in your browser at:
http://127.0.0.1:8000/
- The root URL (
/) renders thehomepage. - The
/success-page/route returns a simple success HTTP response. - The admin interface is available at
/admin/.
This project is mainly intended for learning Django fundamentals and experimenting with project/app organization.