Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Todo List Project Django - Build A Basic CRUD Todo List
Rating: 4.0 out of 5(20 ratings)
1,359 students

Todo List Project Django - Build A Basic CRUD Todo List

Learn CRUD Operations, Database Management, and UI Design in Python
Created bySumit G
Last updated 8/2024
English

What you'll learn

  • How to create a Home Page Django Templates
  • How to use a GET and POST Methods
  • How to use backend programming to add, update or delete data(adding, updating, deleting tasks)
  • How to display data in the html page using django templating
  • How to create model and use in admin panel

Course content

1 section10 lectures1h 1m total length
  • Introduction to the Project0:16

    Create a simple yet powerful to-do list application using Django, ideal for beginners or those brushing up their Django skills, as this tutorial walks you through building a functional project.

  • Setting Up the Development Environment0:33

    Install django via pip install Django and set up your Python development environment. Explore the basic Django setup to build a basic crud todo list project.

  • Creating the Django Project and App1:43

    Create a new django project and a todo app using django admin startproject and manage.py startapp, open the project in VS Code, and explore the basic django project structure.

  • Designing Templates and Configuring URL Routing2:34

    Set up a Django project by configuring installed apps and templates, creating a templates folder, and wiring URL routing to redirect the root URL to the todo app's index view.

  • Building the Index Page with Hello World0:50

    Run the make migrations command, apply migrations, then start the server with python manage.py runserver. Hit the URL to view the basic index page and keep the server running.

  • Defining Models and Registering with Django Admin1:54

    Define the todo item model with a title, description, and a completed flag, implement __str__ for display, register the model with the admin panel, and run migrations to apply changes.

  • Retrieving Todos and Displaying on the Home Page7:32

    Create a basic Django todo list with add, complete, and delete routes, and display all todos on the home page, using a model with title, description, and completed fields.

  • Implementing the 'Add New Todo' Feature5:09

    Create a post handler to add todo items by collecting title and description from a form, saving the item, and redirecting to the todo index, with CSRF protection.

  • Marking Todos as Complete, Deleting a Todo Item, Finalizing Project2:36

    Mark todos as complete, delete items, and finalize the Django CRUD todo list project by building a unified view to handle completion and deletion.

  • Next: Styling Your Django To-Do List: Master CSS for a Polished Look!38:26

    Enhance a Django to-do list by styling with CSS for a polished dark-themed UI, while implementing HTML forms, item creation, completion, and deletion in a basic CRUD workflow.

Requirements

  • Basic Of Python and Django

Description

Are you ready to dive into Django and build a practical, hands-on project? In this course, you’ll learn how to create a fully functional Todo List application using Django, one of the most popular Python web frameworks. This course is perfect for beginners looking to gain experience with Django by building a real-world project.

Throughout this course, you will start from scratch and progressively build your skills. We’ll begin with an introduction to Django’s fundamental concepts, including setting up your development environment, creating a Django project, and understanding the Model-View-Template (MVT) architecture. You’ll learn how to define models for your Todo List, create views to handle user interactions, and design templates to display tasks in an intuitive and user-friendly way.

As we move forward, you’ll dive into implementing CRUD (Create, Read, Update, Delete) operations, allowing users to manage their tasks efficiently. You'll also explore user authentication to enable personalized experiences, ensuring that each user can manage their own Todo List.

We’ll also cover essential topics like form handling, data validation, and working with Django’s ORM to interact with the database. By integrating HTML and CSS, you’ll design a polished user interface that makes your Todo List application both functional and visually appealing.

Finally, you’ll get a chance to deploy your Django application, making it live for users to access from anywhere. This course not only provides you with practical Django experience but also prepares you to tackle real-world projects and challenges.

Join now to enhance your Django skills, build a robust Todo List application, and take your first step towards becoming a proficient web developer. Don’t miss this opportunity to turn theory into practice and make your web development goals a reality!

Thanks

Who this course is for:

  • Beginner Python and Django Learners