Day 10 Django Learning.

🧠 Django Learning Journey – Day 10

Today was supposed to be the day — the final step of CRUD, the ā€œUpdate/Editā€ functionality.
I started full of excitement… and ended completely exhausted.
My first truly unsuccessful coding day.
And I think… that’s okay.

šŸ”§ The Plan (which seemed simple)

Like the last two days, I:

Created a new edit view in views.py

Added the URL mapping with pk=list_id

Picked the item’s ID from home.html

Created a new edit.html template where the specific item should be edited

In theory:
Click → Open edit page → Edit item → Save → Redirect to home
Easy… right?
But the logic just didn’t click today.

🧨 What Actually Happened

I did create the link in home.html.
I did create edit.html.
But either the view isn’t catching the item…
or the template isn’t rendering it…
or both!

I stared at the code for too long and nothing made sense anymore.
Even forgot to capture screenshots properly — that’s how chaotic it felt.

Tomorrow, with a fresh mind, I’ll revisit the entire ā€œUpdateā€ flow step by step.

šŸ˜®ā€šŸ’Ø The Honest Part

Today came with frustration, doubt, and that little whisper:
ā€œWhy isn’t this working? Am I missing something basic?ā€

But this is part of the journey.
Just like we debug code, we debug our thoughts too.
Some days the chunk falls perfectly into place…
Today’s chunk didn’t. And that’s fine.

šŸ’¬ I Need Your Inputs

If you’ve built your first CRUD project in Django:

Did the Update/Edit step frustrate you too?

Where did you struggle?

Any tips on where I might be messing up — views, template, or the redirect flow?

Let me know.
Your insights might save tomorrow’s session!

šŸ” Onward

Every other day, something new clicked.
Today didn’t.
But tomorrow is still there — waiting for a fresher mind and a stronger developer.

Django #Python #CRUD #LearningInPublic #WebDevelopment #100DaysOfCode

Similar Posts