Using and Customizing Django Admin for Your Financial TrackerWhat Is the Django Admin? Django admin is a built-in, auto-generated interface for managing your data.You can add, edit, delete, and search transactions and categories easily. Step 1: Create a Superuser Run: python manage.py createsuperuser Follow ...Sep 13, 2025 · 1 min readjosephchu.dev
Making and Applying Migrations in DjangoWhat Are Migrations? Migrations are Django’s way of translating your Python models into database tables.Every time your models change, you make new migrations. Step 1: Create Migrations Run: python manage.py makemigrations tracker This generates mi...Sep 13, 2025 · 1 min readjosephchu.dev
Designing Models and Database Structure for Transactions and CategoriesWhat Are Django Models? Models are Python classes that define your database tables.Django generates and manages the database for you! Planning Our Models We need: Category (e.g., Food, Rent, Salary) Transaction (amount, date, category, type, notes...Sep 12, 2025 · 1 min readjosephchu.dev
Creating the Tracker App and Registering It in DjangoWhy Split Your Project Into Apps? Django projects are made of apps, each handling a piece of your project’s functionality.For this tracker, our core app will handle transactions and categories. Step 1: Create the Tracker App Run: python manage.py st...Sep 11, 2025 · 1 min readjosephchu.dev
Setting Up Django From Scratch for Your Financial TrackerStarting From Zero In this post, we'll go from an empty project folder to a working Django installation. Step 1: Create and Activate a Python Virtual Environment Why?A virtual environment isolates your project dependencies. This keeps your system cl...Sep 11, 2025 · 1 min readjosephchu.dev