This is a simple TODO app built using Django, a Python web framework. The app allows users to create, view, update, and delete tasks in a TODO list.
- View a list of all tasks in the TODO list.
- Add new tasks to the TODO list.
- Update existing tasks in the TODO list.
- Mark tasks as completed or not completed.
- Delete tasks from the TODO list.
- Python (3.6 or higher)
- Django (3.2 or higher)
-
Clone the repository to your local machine:
git clone https://github.com/your-username/todo_app.git cd todo_app
Create a virtual environment (optional but recommended):
-
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate Install the project dependencies:
-
pip install -r requirements.txt Apply the database migrations:
-
python manage.py migrate Start the development server:
-
python manage.py runserver Access the TODO app in your web browser at http://127.0.0.1:8000/todo/.
- To view the list of tasks, go to http://127.0.0.1:8000/todo/.
- To add a new task, click on "Add New Item" on the TODO list page and fill out the form.
- To update an existing task, click on the "Update" link next to the task you want to modify, make the necessary changes in the form, and click "Save".
- To mark a task as completed or not completed, check or uncheck the "Completed" checkbox while updating the task.
- To delete a task, click on the "Delete" link next to the task you want to remove, and confirm the deletion.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
Feel free to copy and paste this content into your README.md file. Just remember to replace your-username
in the clone command with your actual GitHub username if you are hosting the project on GitHub. Also, make sure to update the content in the "Usage" section to match the actual functionality of your TODO app. Additionally, you can include more details, like the project's structure, future plans, and other relevant information, depending on your project's needs.