Django To Do List App With User Registration & Login

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.ย. 2024

ความคิดเห็น • 430

  • @DennisIvy
    @DennisIvy  2 หลายเดือนก่อน +1

    Don't forget to checkout my Complete Django course: dub.sh/ra17ojl

    • @titan_471
      @titan_471 2 หลายเดือนก่อน +1

      i got an error while trying the logout it says "Method Not Allowed (GET): /logout/", please help to resolve this problem

  • @armaghan1196
    @armaghan1196 3 ปีที่แล้ว +209

    This might be just a ToDo list for most people, but it teaches a lot of fundamental concepts and their use cases

    • @gregplittjunior8313
      @gregplittjunior8313 2 ปีที่แล้ว +3

      i wanna say exactly omg this is so great i learnt a lot of things with this video

    • @anujkondhalkar9776
      @anujkondhalkar9776 2 ปีที่แล้ว

      Absolutly.

    • @IT_Tip
      @IT_Tip ปีที่แล้ว +1

      Absolutely agree! Nice wee 'course' to learn the fundamentals of class based views.

  • @ДмитрийГречкин-з5е
    @ДмитрийГречкин-з5е 3 ปีที่แล้ว +93

    Dennis(let me call you by name only), you are the person who really helps people on starting and mastering their careers. My great "thanks" to you for being such amazing tutor. Hope to meet you once, shake your hand and tell it once more.

    • @DennisIvy
      @DennisIvy  3 ปีที่แล้ว +16

      Wow thank you! I really appreciate this. I’m sure there will be more opportunities in the future to cross paths 😉

    • @ДмитрийГречкин-з5е
      @ДмитрийГречкин-з5е 3 ปีที่แล้ว +3

      @@DennisIvy Will save our chatting for future. Have a nice day

  • @adigumichael1341
    @adigumichael1341 2 ปีที่แล้ว +7

    Mr. Dennis, your tutorials are really changing me to be a better person as I speak, i hope to become a programmer like you some day. I also hope to meet you one day. God bless you abundantly.

  • @shivamsemwal9034
    @shivamsemwal9034 3 ปีที่แล้ว +1

    i have visited many channels n im learning development from last 2 years from my experience i can say that this is the most awesome channel. short videos covering lot of concepts, every time i learn something from you builds a basic concept of doing development and create a vision of making thins
    thank you

  • @saadankamal2480
    @saadankamal2480 ปีที่แล้ว

    ClassBaseViews are so amazing to use. Thank you for teaching that...🙌

  • @Geekyology
    @Geekyology 3 ปีที่แล้ว +1

    This video just makes me love CBVs. Amazing content

  • @srilankaninjapan
    @srilankaninjapan 3 ปีที่แล้ว +1

    Hey Dennis,
    This is just to say thank you. I learned a lot from this.

  • @dhruvilshah9098
    @dhruvilshah9098 3 ปีที่แล้ว +3

    East or West Dennis Sir is the Best! ❤

  • @PabloCao
    @PabloCao 2 ปีที่แล้ว +1

    Amazing tutorial. With this I can do a lot of things. Thank you so much!!!

  • @dasunsamarakoon2824
    @dasunsamarakoon2824 2 ปีที่แล้ว +2

    Hey Dennis, I fount little bug on this app. john can view dennis's tasks. However, by type url on browser. ex : host/task/task.id, so task id can any task id. Therefore some task ids can be dennis's tasks
    but your tutorials are very very helpful. good luck 😍

  • @Airsicktitan
    @Airsicktitan 5 หลายเดือนก่อน +10

    For anyone else wondering, in Django 5.0+, you are no longer able to use the LogoutView class the way it was shown in the video. I've not found a way to use it in the newer version, so I ended up using a function based view to log the user out,
    In the views you should import
    from django.shortcuts import render, redirect
    from django.contrib.auth import logout
    then the function can be written as so:
    def logout_user(request):
    logout(request)
    return redirect('login')

    • @elvinrk
      @elvinrk 3 หลายเดือนก่อน

      Thank you man!

    • @dan_stat
      @dan_stat 21 วันที่ผ่านมา +3

      Better way: In Django 5.1 its not allowed to call the logout with a GET. So call it with a POST, then you don't need to define a new view for that:
      {% csrf_token %}
      Logout
      Instead of the href.

    • @saisrinivas7636
      @saisrinivas7636 11 วันที่ผ่านมา

      @@dan_stat Thanks man!!!

  • @santoshvishwanathan4931
    @santoshvishwanathan4931 ปีที่แล้ว

    Amazing video! I learnt so much about Django in just 2 hours. Thank you

  • @Charlotte_Berry11
    @Charlotte_Berry11 2 ปีที่แล้ว

    I watched many tutorials but this was the one

  • @AayanamAnirudh
    @AayanamAnirudh 3 ปีที่แล้ว +4

    Hey Dennis, could you please use virtual environment...Sometimes we mess up stuff while using venv and following along...Pls consider this small suggestion..
    Love from India

  • @thepowerofgodministry6265
    @thepowerofgodministry6265 ปีที่แล้ว

    You have made Django look easy

  • @pipelonis980414
    @pipelonis980414 3 ปีที่แล้ว +4

    Outstanding job as always Dennis. Thank you so much for sharing such valuable content, I'm looking forward to buy your Udemy course.

  • @robertkigozi7171
    @robertkigozi7171 ปีที่แล้ว

    Just finished this! Thank you so much Dennis - I learnt a TONNE. Purchased your Udemy course too :)

  • @saadatnazaralieva9753
    @saadatnazaralieva9753 ปีที่แล้ว

    Thank you Dennis! Great tutorial as always

  • @arvydasgasparavicius7231
    @arvydasgasparavicius7231 2 ปีที่แล้ว +2

    Thanks for a great tutorial! You mentioned you'll build the same app without class based views. Is there a video of that somewhere? :)

  • @Ali-xd1zl
    @Ali-xd1zl 2 ปีที่แล้ว

    at 53:37 class based view name is Delete view it should be TaskDelete😇.

  • @watchingvideos9871
    @watchingvideos9871 3 ปีที่แล้ว +1

    Thanks a bunch man. Do you think you can do more Django projects like this? It helped very much.

  • @kavousgamouri5146
    @kavousgamouri5146 ปีที่แล้ว

    it helps me a lot, many thanks dennis

  • @plaintive_tears
    @plaintive_tears 6 หลายเดือนก่อน

    It's superb one, But can you explain or share how to deploy it ?

  • @jeffliu70
    @jeffliu70 3 ปีที่แล้ว +1

    Thanks - great tutorial. It was really helpful. I was able to extend your Todo app by adding a PasswordChangeView, and a Forgot Password view. When I attempted to add pagination, I ran into an issue with "Cannot filter a query once a slice has been taken" error. Research online seems to indicate that I would need to implement Django-filters library and work with query sets.

    • @jeffliu70
      @jeffliu70 3 ปีที่แล้ว +1

      FYI Took a little trial and error, I was able to install django-filter and use a custom class TaskFilterSet to get that working. I had to swap out the existing get_context_data function to only include the context['count'] as the FilterSet did the filtering for the user.

  • @_boris
    @_boris 3 ปีที่แล้ว

    great video tutorial, a quick way to reinforce the information from documentation
    would be great to link the article in the description (had to open the other video and find it from there)
    thanks a lot for what you do

    • @DennisIvy
      @DennisIvy  3 ปีที่แล้ว +1

      Just added it, thanks for the tip :)

  • @nuandatun
    @nuandatun 3 ปีที่แล้ว

    Thank YOU so MUCH! It was really helpful

  • @mayukhroy3629
    @mayukhroy3629 ปีที่แล้ว +1

    Bro can you help me in creation of login page i created same as you but the login button dont work if i click it nothing happens not even reload. Idk what is the problem? Can anyone please help?

  • @yulyakhafizova
    @yulyakhafizova 3 ปีที่แล้ว +1

    Great video! I`ve learned a lot. Could you please make a video on how to add a filter for a Listview like in django admin?

  • @milespearce
    @milespearce ปีที่แล้ว

    Fantastic tutorial, thanks so much! Where can I get that sweet desktop wallpaper? Are you a musician as well?

  • @mondayuche8111
    @mondayuche8111 2 ปีที่แล้ว

    Thank you so much for this, God bless you

  • @dexvee
    @dexvee 10 หลายเดือนก่อน

    this is a really good course, thx

  • @saolgoal3700
    @saolgoal3700 3 ปีที่แล้ว

    Wow Just got to know that CBV are this easy

  • @fzk5866
    @fzk5866 2 ปีที่แล้ว

    Thank you so much Dennis💛

  • @nabilhossain1084
    @nabilhossain1084 3 ปีที่แล้ว

    please make this todo list app in function based view so we can understand the both, please

  • @ikechukwuuchendu5801
    @ikechukwuuchendu5801 ปีที่แล้ว

    Amazing tutorial!

  • @channelm8044
    @channelm8044 2 ปีที่แล้ว

    Thank you for the great content.

  • @saandial3412
    @saandial3412 3 ปีที่แล้ว +1

    Great tutorial Dennis thx! On user account creation, how could you (Admin) set it up to get an email when (User) tries to create an account, to first approve their account before they can login? Thx again =)

  • @sourvsingh4528
    @sourvsingh4528 2 ปีที่แล้ว

    I was thinking that a second user can delete first user's data if he know the id. So I stopped this by "{% ifequal request.user object.user %}" this statement, basically I am checking if the requesting user is the item's owner. if the above statement is true I'll let the user delete this, but in the {% else %} part we can display a message and ask the user to go back. finally {% endifequal %}. Thanks for the amazing tutorial btw. : )

  • @hariomdagar3992
    @hariomdagar3992 2 ปีที่แล้ว

    Thank u so much sir for the tutorial
    But in this app, a non superuser can still modify/delete other user's task

    • @astrophilo2000
      @astrophilo2000 2 ปีที่แล้ว

      if u use LoginRequiredMixin, non user cannot see any tasks at all

  • @Elijahkx
    @Elijahkx 3 ปีที่แล้ว +1

    Amazing video ! Very informative. Is there any way to make this for user-only? Like a mobile application.

  • @leonardoferreira7977
    @leonardoferreira7977 3 หลายเดือนก่อน

    Hey Dennis, i know this is an old video but im new to django and was wondering if its possible to have a save button to the to do list and have it save the changes to a file?

  • @carloscabrera9638
    @carloscabrera9638 2 ปีที่แล้ว +1

    Hello Dennis, excellent tutorials, I am following this video, I am doing the exercise of registering a user and when saving I get an error, in my case I have a personalized user where the E-mail is the user, what should I do to get the user? custom that I have in the app.
    thank you.

  • @verylowendgamers7426
    @verylowendgamers7426 2 ปีที่แล้ว +1

    timestamp - 1:19:56 will comeback later

  • @aliiali5586
    @aliiali5586 2 ปีที่แล้ว

    habibi you are amazing thank you

  • @LegionLeague
    @LegionLeague 3 ปีที่แล้ว

    That's a definitive Like from me. 2 questions:
    1. How to make complete = True when user clicks on the circle to the left of the item title? That way we don't have to press Update and then Complete checkbox?
    2. How to make search functionality not onsubmit, but onchange? That way we don't have to click Submit or press Enter.

  • @sathyanarayananGrowthmarketer
    @sathyanarayananGrowthmarketer 2 ปีที่แล้ว

    thanks for this very useful video.

  • @bikalbastakoti298
    @bikalbastakoti298 3 ปีที่แล้ว

    really a nice one to move on with

  • @philippnazarenko7090
    @philippnazarenko7090 ปีที่แล้ว +1

    What version of the Django do you use??

  • @JonNordland
    @JonNordland 3 ปีที่แล้ว

    So good!!! Thanks

  • @PaulOlofynskyi
    @PaulOlofynskyi 2 ปีที่แล้ว

    thank you!!!

  • @flunking1
    @flunking1 ปีที่แล้ว

    Thank you so much.

  • @saidmamadgulomshoev3068
    @saidmamadgulomshoev3068 2 ปีที่แล้ว +1

    Great tutorial, Denis! Thankyou
    But I have one problem: when U update a task, it creates a new task with the updated information. What might be the problem?

  • @sahilgholap9530
    @sahilgholap9530 2 ปีที่แล้ว

    "No URL to redirect to. Provide a success_url." got this error while doing the registration can u help me plzz

  • @kirtan__prajapati1827
    @kirtan__prajapati1827 3 ปีที่แล้ว

    Very Informative

    • @kirtan__prajapati1827
      @kirtan__prajapati1827 3 ปีที่แล้ว

      why don't u start something like a crash course....definitely will be helpful

  • @lokdaisalaheddine2976
    @lokdaisalaheddine2976 3 ปีที่แล้ว +1

    Hey,, thanks for your valuable lessons you do for us,, i have a question,, i almost mastered html and css for front end,, and now i am confused ,, i have a good basics knowledge in python even in Django,, and there is huge demand in js, and react as framework,, do you think mastering django and python is enough to get a great job as a full stack developer!! And thank you ☺️

  • @keenanwekesa1723
    @keenanwekesa1723 ปีที่แล้ว

    Thanks

  • @erindsharka559
    @erindsharka559 3 ปีที่แล้ว

    Thanks .... a lot !!!

  • @AdeboyeDN
    @AdeboyeDN 3 ปีที่แล้ว

    Got confused at some point will check your blog post 🙏🙏

  • @bartd80d
    @bartd80d 3 หลายเดือนก่อน

    In Django 5 the logout view does not work, somebody has some solution?

  • @salehm9631
    @salehm9631 3 ปีที่แล้ว

    thank you so much

  • @YaGirlTech
    @YaGirlTech 3 ปีที่แล้ว

    Hello
    please when i am doing the set up in cmd its saying django-admin is not recognize as an external .... what i do please

  • @shivyelave3249
    @shivyelave3249 2 ปีที่แล้ว

    How can i see data base table?

  • @collenserudzai7167
    @collenserudzai7167 3 ปีที่แล้ว

    my students, I tried with my PC and active presenter only but the sound is bad, what equipment do u recommend me to buy?

  • @harishsanthosh3861
    @harishsanthosh3861 ปีที่แล้ว

    Its helpfull

  • @rimisarkar6376
    @rimisarkar6376 2 ปีที่แล้ว

    as_view is not working in url

  • @elvinrk
    @elvinrk 3 หลายเดือนก่อน

    Great video!! Ty so much!!

    • @mounimounika5734
      @mounimounika5734 3 หลายเดือนก่อน +1

      Heyy r u done with this proj??

    • @elvinrk
      @elvinrk 3 หลายเดือนก่อน

      @@mounimounika5734 Yeah...I did this project

  • @bonemanx1
    @bonemanx1 2 หลายเดือนก่อน

    Hello anyone doing this in 2024.
    You will need to change your "logout" to this:
    {% csrf_token %}
    logout

  • @HLWizard_GirlWizard
    @HLWizard_GirlWizard 3 ปีที่แล้ว

    How to do it when I want to delete an account?

  • @zachfenton608
    @zachfenton608 2 ปีที่แล้ว

    Awesome by why when I try to add in
    {% extends 'base/main.html' %}
    {% block content%}
    Go Back
    Login
    {% csrf_token%}
    {{form.as_p}}

    Don't have a profile? Register
    {% endblock content%}
    it gives me back just " for the page, is something not being rendered correctly?

  • @مهندبدرة
    @مهندبدرة ปีที่แล้ว

    thx

  • @abuyahyadiab363
    @abuyahyadiab363 ปีที่แล้ว

    Hi, I wanna ask if this video still valid until this date.
    I'm asking because of the variations of django.
    Your projects is far powerfull(I'm now in chat application project, it's far nice), and I hope this also be valid

  • @captain_ali_01
    @captain_ali_01 ปีที่แล้ว

    "from django.contrib.auth.models import User" was not being imported for some reason.. Not sure why..Does anyone have the solution to this. When I started defining the 'Task" model, and then 'user =", the ForeignKey doesn't show up in the editor.

  • @haricharangv
    @haricharangv 2 ปีที่แล้ว

    Here the correct url for login is 'login/',CustomLoginView.as_view(),name="login" at this timestamp 1:01:47 the URL isn't working try as_view() as i have mentioned above

  • @VadimBogomazov
    @VadimBogomazov 7 หลายเดือนก่อน +3

    After release, DR 4.1 logout is not gonna work this way. Here is the right way to logout link:

    {% csrf_token %}
    logout

  • @Emilyroselynch
    @Emilyroselynch 2 ปีที่แล้ว +1

    Great video! Just a question, at the 25:00 mark, when the TemplateDoesNotExist page list shows, mine still displays the previous ‘To do list’ page. Why could this be? I’ve refreshed the page many times :) thanks if anyone could give me a hand!

  • @victormokut
    @victormokut ปีที่แล้ว +15

    Learnt so much in 2hrs. Understanding how basic CRUD works with Django was a high point of this video tutorial for me. The references are another. Thank you so much Dennis. We appreciate you!

  • @rittwickbhabak7348
    @rittwickbhabak7348 2 ปีที่แล้ว +1

    One user is able to view, edit and delete another user's task. How to remove these vulnerabilities?

  • @inelcode
    @inelcode 3 ปีที่แล้ว +9

    Hi Dennis Ivy, thanks for the wonderful tutorial, its really impression and teaches a lot.
    A quick suggestion Sir, i will like you to include a notification functionality that will remind the user of task or tasks that are about to meet their completion date and time.

  • @youtuberyoutubeman5939
    @youtuberyoutubeman5939 6 หลายเดือนก่อน +2

    i got an error while trying the logout it says "Method Not Allowed (GET): /logout/", what did i do wrong mr. dennis the dev

    • @titan_471
      @titan_471 2 หลายเดือนก่อน

      i am also facing the same problem

  • @waseem1162
    @waseem1162 3 ปีที่แล้ว +7

    Huge respect from Pakistan. May Allah keep you healthy and happy . Stay blessed.

  • @pranavbakare8922
    @pranavbakare8922 3 ปีที่แล้ว +7

    I prepared both separate todo list and login registration forms now its time to combine them in dennis way!!!!!

  • @hansolo9048
    @hansolo9048 3 ปีที่แล้ว +9

    Hi Dennis, this was a great tutorial video while building a realistic project. I learnt a lot and I am grateful to you. I really like the simplicity and the ease with which you showcased Django's cool built-in features. I followed along and built the project. I was hoping you would help me figure out an issue. After I logout, if I click on the browser's back button, I am taken back to the tasks page as an authenticated user. I tried searching this up but did not find a good answer. Shouldn't the LoginRequiredMixin handle this? Is this an issue of browser caching? I would appreciate your response. Thank you.

  • @MemerMedia
    @MemerMedia 3 หลายเดือนก่อน +1

    hey Dennis i am facing error in logout page its not redirecting to logout page 1:02:00 to 1:07:00 logout is not working giving error 405 , give the guide line to solve that error

  • @gufran-ansari
    @gufran-ansari 3 ปีที่แล้ว +4

    hey Dennis sir, first of all, you're my inspiration to learn django. I've created few projects by learning from you but now I'm stucked at one point. I've a request, can you create a video tutorial on Comments on some posts and their replies in django? like we have on youtube.
    thank you in advance Sir.

  • @michaelkefalas3835
    @michaelkefalas3835 2 ปีที่แล้ว +1

    I followed your video exactly and I get "TaskList is missing a QuerySet. Define TaskList.model, TaskList.queryset, or override TaskList.get_queryset()." I give up -.- Took me 2 hours and still cant fix this xD

    • @omarlaralima2459
      @omarlaralima2459 ปีที่แล้ว +1

      you might be missing 'model = Task' from your TaskList class.

  • @yourabd4604
    @yourabd4604 3 ปีที่แล้ว +6

    keep going Dennis. Lot's of love and respect from this Bangladeshi.

  • @Sid-xt3kt
    @Sid-xt3kt 3 ปีที่แล้ว +5

    Hey, this is amazing stuff! Great work and thanks! Do you think you can do a tutorial on a calendar task/events app?

  • @dhirajkafle47
    @dhirajkafle47 3 ปีที่แล้ว +8

    Dennis you are doing great by helping & supporting the django community. Thank you for your hard work. We want more django related videos from you.

  • @cloudprograms9612
    @cloudprograms9612 2 ปีที่แล้ว +2

    Question for you Dennis, at 1:36:00, you said that you need to manually clear it out. But i was able to click search on the empty bar and it showed all the to-do tasks again. So i'm confused about that change you made after, because I don't really see the difference between before and after

  • @bartd80d
    @bartd80d 3 หลายเดือนก่อน +1

    In Django 5,
    I have: Method Not Allowed: /logout/

  • @RahulPatel-qz2vb
    @RahulPatel-qz2vb 2 ปีที่แล้ว +4

    I learnt Django more rather then my college life of 5 years. THANK YOU so much and please provide more tutorials like this.

  • @muhammadameerhamza8842
    @muhammadameerhamza8842 6 หลายเดือนก่อน +1

    Thank you so much bro for this tutorial. this video cleared me the class based views thorougly.
    I am a junior django developer. In my django career i watched your videos and inspire a lot from you.
    you way of method is superb.
    I am from Pakistan.
    I love your method of teaching.
    You are just sun for django developers
    Thank You Again Bro

    • @Ameyiscool
      @Ameyiscool 3 หลายเดือนก่อน

      How did you get that post bro?

  • @alisherdeveloper146
    @alisherdeveloper146 2 ปีที่แล้ว +1

    Thank you!
    while True:
    print("Dennis Ivy is a nice 👍")

  • @HELLOworld-sl5zh
    @HELLOworld-sl5zh 2 ปีที่แล้ว +1

    bro why would you use class based views for beginner tutorial?

  • @Nongarehightech
    @Nongarehightech 3 ปีที่แล้ว +3

    The Boss of Django is Dennis lvy

  • @BenHampson
    @BenHampson 3 ปีที่แล้ว +15

    A great tutorial! Definitely a good introduction to class-based views and how to get into them more. Thanks, Dennis.
    A tip I discovered to speed up writing HTML in VS Code:
    * If you want to write ``, just type `.header-bar`, hit Enter, and that entire tag will appear.
    * For any other pair of tags, like or , just type in `p` or `a` followed by Enter, and the same thing happens.

    • @nicolassalvadores932
      @nicolassalvadores932 ปีที่แล้ว

      this only works if you use html as interpreter, if you use django html it doesn't, do you know why?

  • @NasifsArena
    @NasifsArena 2 ปีที่แล้ว +2

    My first Django project started with this amazing video, thanks a ton man!

  • @deemo16
    @deemo16 2 ปีที่แล้ว +2

    Wow, this really is LIKE MAGIC! It's good to learn how to do this from scratch, but using the django generic views just blew my mind! Amazing tutorial.

  • @abdullahsiddiqui6020
    @abdullahsiddiqui6020 2 ปีที่แล้ว +2

    I had a question regarding how I would extend the User model for the RegisterPage function?
    Thanks for the great tutorial!