Edit todo item and added CSS
March 18, 2025
Tags: webapps,
I have implemented the ability to edit a single todo item. I was thinking that this should be done through JavaScript (JS), however, my current lack of knowledge on JS and the fact that at them moment I want to focus on the backend made me decide that I should do it throuhg Django.
To implement this, I added a new url that uses the id as an input and is processed through its corresponding view. The view then loads a form that contains the data requested through the id. Since this is done through a HTML form, a button to save the edits needed to be added in the HTML page. Implementing the ability to edit a todo entry was easier than I thought, all I had to do was to add an instance to the model and getting the data using the .get() function. So another item done, I guess I should have added it to my todo app so I could mark it as done… Well, this is the reason why I am trying to build my own platform.
Todo App Created
March 15, 2025
Tags: webapps,
I created a GitHub branch to save the todo progress while in development. Here is what I have implemented so far:
- Started the webapps project
- Created the todo app
- Created model for a single todo list
- Implemented the form and list of the todo list
I am only working on the backend with a very simple frontend since I am not very good at CSS. I will deal with that later.