Build A Cool To-Do List App With Django and Python!

preview_player
Показать описание
Take the full course at Codemy for just $29 using this URL coupon code:

--------------------------------------------------------------------------------

Follow along as I build a cool To-Do List App With Django and Python.

In this video we'll learn about basic C.R.U.D. database operations with Django and Python. We'll learn to add items to a to-do list, check them off or on, delete them, and edit them.

Pretty cool intro into all things database driven with Python and Django...check it out!

Building websites with Django is a ton of fun...learn how in this video!

Рекомендации по теме
Комментарии
Автор

Hi, Please take it on the positive note: So the viewers who will be following this video will be mostly like me who are new to django or new to web development. Because an experienced web developer or django engineer will probably not look at a starter app like this. So for people like me who are new to web development or django framework, will appreciate the slow pace. Although the video is about 26 minute but it took me 2-3 hours to complete the whole tutorial as I have write the code too rather than copy an paste. You have a great way to deliver the tutorial with great clarity in your voice. the only thing is the pace :), best wishes, overall was a good tutorial. Thanks

meenu
Автор

Many of you maybe having error of form is invalid.
Error is in base.html (because u missed it lol) go to line where you are having csrf token, in the search box you are missing name='item'
check base.html at 14:40 . I found this by firstly seeing what error am geting, then i found that i am not getting value for item so it came to mind that maybe i am missing it's linkage, then aftre code recheck i found it. Newbie errors :)
{% csrf_token %}
<input class="form-control mr-sm-2" type="search" placeholder="Add Item" aria-label="item" name="item">
<button class="btn btn-outline-secondary my-2 my-sm-0" type="submit">Add to Do List</button>

KushChoudhary
Автор

Thank you so much man!
Was helpful for a last minute mini project!
And for those have issues with the speed, play it in 0.5 and thank me later!

mohammedsadiq
Автор

Thank you, man. I'm a complete beginner (just learned python for like a week in my free time), started around 5 django projects, but I constantly ran into errors that I couldn't fix. Finally, this one works.

betonitcso
Автор

I must say, I've learned more from this video in comparison to a tutorial which is slowly taught and takes between 5 to 10 hours to complete, most don't have the time to sit down and watch a 10-hour tutorial. I think small bullet point videos are way more effective in the learning process because you get what you need. I think you making this type of video where you rush through is an excellent idea, you should make more videos like this one. This type of video is excellent for someone like me and many others who have some very basic knowledge and need a very quick overview of the entire process of a basic crud application. I've learned a lot from this video because since you were moving so quickly, I had to stop and really think about the logic you wrote and by you doing so it helped to solidify my knowledge on this topic.

DevlogBill
Автор

at 14:48 :
I am trying over 3 days figure out the error
ValueError: The view todo_list.views.home didn't return an HttpResponse object. It returned None instead.


a lot of search about this error on the web, but nothing really solve. any tip?

montenegromf
Автор

I love how fast this is, not limited by the prof / class teaching/learning speed is so key. Thanks!

chase
Автор

I feel that once the form is submitted, we need to redirect to the home page instead of rendering out to avoid duplicate submission. Means `return redirect('home')` in the home view inside the second if block

DavidRajM
Автор

Tough crowd. Thanks for the video. I'm at this exact spot in my learning Django so it was a great course to give a quick CRUD overview. I'm on my third time watching it as it's short and quick. I picked up something new each time. Most videos focus on entry-level, and once you know how to set up apps and render templates, it's nice to have something quick and to the point that doesn't focus on how to set a project up.

elizabethgallo
Автор

This video assumes that you already have Python setup. Mac, users... Do this before following along with the video:

Setting the Path:


In terminal
#1 -  type "nano .bash_profile" Make sure that you're in the home directory. First type "cd" then "nano .bashprofile"


#Setting PATH for Python 3.7



export PATH



Check python and path:

type python3

echo $PATH

#2- Add Python3 alias:



#Assigning Python 3

alias python=python3 

alias pip=pip3


Now you can follow along with the video

crallo_phades
Автор

Thank you so much bro. It helped me a lot.

juanmitilo
Автор

Please help, at 13:27 for


all_items = List.objects.all


it says Class List has no objects

tarioyou
Автор

20:00 Thank you so much for this video, and it was a great joy to watch, but I have to add something. Is there any specific reason why you created a style sheet at this point, when you could have used the html <strike> tag?

modernmistyk
Автор

Sir, after 15 minutes add to list operation is not responding it shows value error(post http/1.1).Please tell me what is the solution?

RaviGupta-musf
Автор

Hey getting this error message in the Window Shell when trying to create a new directory
mkdir : Access to the path 'projectdj' is denied.
At line:1 char:2
+ mkdir C:\projectdj
+
+ CategoryInfo : PermissionDenied: (C:\projectdj:String) [New-Item], UnauthorizedAccessException
+ FullyQualifiedErrorId : CreateDirectoryUnauthorizedAccessError, Microsoft.PowerShell.Commands.NewItemCommand

JohnSmith-mjox
Автор

i got this error .. could you plz find
ValueError at /
The view todo_list.views.home didn't return an HttpResponse object. It returned None instead.

tejasmankar
Автор

Thanks for this video, really appreciate this!

maratin
Автор

Really great video! Thank you soo much. Lerant already a lot about Django!

hexadecimal
Автор

What if I wish to create multiple lists ? Do you have any suggestions ?

thetruereality
Автор

3:50 "django-admin startproject todo", works for me (no .py after admin)

matm