A simple and efficient Django-based web application for tracking personal debts and payments.
- ✅ Add, update, and delete debts
- ✅ Record payments and link them to specific debts
- ✅ View a combined activity feed of debts and payments
- ✅ Organize entries by contacts and categories
- ✅ Secure user authentication and session management
- ✅ Clean and responsive user interface using Django templates
- ✅ Uses Django Class-Based Views (CBVs) for clean architecture
- Python 3
- Django 4+
- PostgreSQL
- HTML/CSS (Django templates)
- Bootstrap (for UI styling)
- Python's
itertoolsandoperatormodules for efficient sorting and merging
-
Clone the repository:
git clone https://github.com/Gulrukh07/Debt.git cd Debt -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
debt/– Main app containing models, views, and formstemplates/– All HTML templates used for rendering pagesstatic/– Static files (CSS, JS, etc.)users/– Custom user-related logic and authentication
- Debts and Payments are two separate models but are combined in the view using
itertools.chainand sorted bycreated_at. - Each user can manage their own debt records and filter by contact or category.
- Simple and intuitive layout makes it easy to track financial activities.
Built with 💙 by Gulrukh Khayrullaeva