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