Login With User Authentication - Django Wednesdays #21

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 132

  • @Codemycom
    @Codemycom  3 года назад +5

    ▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My RUclips Channel:
    bit.ly/35Xo9jD bit.ly/2IGzvOR
    ▶️ See More At: ✅ Join My Facebook Group:
    Codemy.com bit.ly/2GFmOBz
    ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt!
    Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
    ▶️ Get The Code
    bit.ly/3sJpeV6

  • @toast_on_toast1270
    @toast_on_toast1270 2 года назад +19

    Very good series this is FAR better quality than what is offered from my CS course! FYI for anyone like me using current Django version in 2022 (around 3.5 I think), the view for login will only work when the templates subfolder is called 'registration', not 'authenticate' or anything else. Too much of a beginner to know why this is, or even if it's just a mistake on my part. That's what i'm here for! Thanks again!

    • @Codemycom
      @Codemycom  2 года назад +1

      Glad you're enjoying the videos!

    • @OasisFinder
      @OasisFinder Год назад

      Thanks for the heads up, i was stuck here.

    • @paulbrugger9610
      @paulbrugger9610 Год назад +1

      I am using Django 4.1.4 and I can use a templates/authenticate folder with no problem....

  • @dsyoutube7116
    @dsyoutube7116 3 года назад +13

    I mean really, now I feel like I'm learning Python fun with Walter White. Surely you look like him. I love the channel 😍

  • @CodeWithClinton
    @CodeWithClinton 3 года назад +6

    Thank you so much, your tutorials are helping me to teach my students better on YT. 🙏🙏

  • @teekumar5056
    @teekumar5056 2 года назад +1

    Thanks John! Feel very lucky to have found your videos!!

  • @yamilaq
    @yamilaq Год назад

    I think I will adopt you... You are my savior

  • @hndr91
    @hndr91 2 года назад

    Thanks John, very clear and compact explanation 👏 I don't even even get this material on paid course, meh

    • @Codemycom
      @Codemycom  2 года назад

      Feel free to head over to codemy.com and give me money lol

  • @labialkosta261
    @labialkosta261 3 года назад

    I send you a email about multi users website and so funny you said you can't help me with this that project but you did answering me here in thiq video hhhh man you're awesome i thought you did this video for me thanks anyway

    • @Codemycom
      @Codemycom  3 года назад

      glad it was useful!

    • @codewithguy9373
      @codewithguy9373 3 года назад

      Hey what's codemy.com email?

    • @Codemycom
      @Codemycom  3 года назад

      @@codewithguy9373 At the top of any page of the site there's a contact form where you can send me a message.

  • @peterm9893
    @peterm9893 Год назад

    Big love, not just like .. awesome work, hats off mate!!

  • @nicolasalegria6526
    @nicolasalegria6526 Год назад

    great, english tutorials are the best

  • @sergejg4773
    @sergejg4773 Год назад

    Top video. Thank you so much.!!!!! Great lesson

  • @__bracer__
    @__bracer__ 2 года назад

    You are an amazing teacher and probably a dev! Thanks.

  • @MariMuthu-lk3qb
    @MariMuthu-lk3qb 3 месяца назад

    Thanks buddy ,I feel happy 🎉

  • @imanerahmaoui04
    @imanerahmaoui04 4 месяца назад

    Thank you soo mucch, this was soo helpful you saved my time ❤

    • @Codemycom
      @Codemycom  4 месяца назад +1

      Glad to hear it!

  • @mohammadg5326
    @mohammadg5326 3 года назад

    I just wanted this video and you provided it. thanks

  • @rubanlesliej4055
    @rubanlesliej4055 3 года назад

    Thank you John for the videos. Highly informative. Could you please post video/articles on how to create time slots selection in django forms?

  • @Leo-gz8us
    @Leo-gz8us Год назад

    Very helpful video

  • @jakobmusic9187
    @jakobmusic9187 Год назад

    thanks for the tutorial. a bit of constructive feedback though: for me the text could be a bit smaller.

  • @deki90to
    @deki90to 3 года назад

    Enjoyable video!

  • @umeshpurohit5252
    @umeshpurohit5252 3 года назад

    Great Sir! Thanks

  • @yunasan8755
    @yunasan8755 2 года назад +1

    Is it okay to put admin and users (people who use the website) together in Users table/models? thanks for the video!

  • @acronproject
    @acronproject Год назад

    Verygood

  • @mikewooldridge3224
    @mikewooldridge3224 2 года назад

    Very helpful, thanks.

  • @sicness0
    @sicness0 Год назад +1

    Thanks, but I have an issue in 17:21. My terminal says "Not found /members/POST"

    • @Codemycom
      @Codemycom  Год назад

      what did you do differently from the video?

    • @sicness0
      @sicness0 Год назад

      @@Codemycom I'm working in a project that belongs to another person, but I did everything the same way as you tell in the video. Maybe there's something in another part of the project

  • @rokibulhaque1673
    @rokibulhaque1673 Год назад

    Hi, i am following your tutorial regularly...Its amazing. Do you have any tutorial on " django app hosting using IIS" or can you please make one to put dhango project in production...

    • @Codemycom
      @Codemycom  Год назад

      No, I would never use IIS for django.

  • @yasayah7289
    @yasayah7289 2 года назад

    Great tutorial! If you want to restrict access to friends, how can you require users to be approved by admin before they can have access?

  • @Draculinio
    @Draculinio 2 года назад

    Saved my weekend!

  • @omidabdolvand2458
    @omidabdolvand2458 2 года назад

    highly greate💥

  • @angeliecampaner9471
    @angeliecampaner9471 Год назад

    Thanks a lot

  • @ishak099
    @ishak099 2 года назад

    thanks a lot sir

  • @danatheriot9650
    @danatheriot9650 Год назад

    Hello, I am working through all your tutorials and everything was going great until I got to this video and my Login_user errors with "AttributeError at /members/login_user
    'tuple' object has no attribute '_meta'". I have gone through and double check to make sure I did not misspell or forget something but I can not find it??? I am using Django 4.1.3 version on an apple computer? Any suggestion would be greatly appreciated! I so thoroughly have been enjoying your tutorials.
    On a different note: Where can I find a video tutorial that covers how to change the "home" page calendar from what Wednesday #2 created to having it in conjunction with all of the events and venues date; have each date link to the event and/or venue????

    • @Codemycom
      @Codemycom  Год назад

      I suggest you put the code aside for a couple days and then come back and rewatch the video. The error you made will likely jump right out at you then, once you have a fresh set of eyes to look at it.

  • @gretabaliunaite1026
    @gretabaliunaite1026 Год назад

    Love the intro :)

  • @svetoslavastoyanova1803
    @svetoslavastoyanova1803 3 года назад

    Where can I find your courses? And please can u tell me what is an extended Django user? I find your explanations better than the people's in my academy...

  • @coderroy290
    @coderroy290 2 года назад

    Hello John I have a question that at 9:52
    i am using path('login/', views.login_user, name='login') and it is giving error
    but using path('login_user/', views.login_user, name='login') does not give error
    why?

  • @sanketkumar_coder
    @sanketkumar_coder Год назад

    How to use this functionality to authenticate database fields authentication

  • @SpurHub
    @SpurHub Год назад

    Thanks man

  • @vasanthvassu643
    @vasanthvassu643 11 месяцев назад

    Tell me what is the good approach while working with authentication
    Using the way what u said
    Or else Can I use LoginView , LogoutView classes

    • @Codemycom
      @Codemycom  11 месяцев назад

      Sorry, no idea what you're asking.

  • @funnytech2646
    @funnytech2646 10 месяцев назад

    i am using firestore database
    this method is suitable it?

  • @infinitespace1982
    @infinitespace1982 10 месяцев назад

    Hi John! I'm in a bit of a pickle here. Lately I've noticed that all of the urls that pass either 'venue_id' or 'event_id' as a parameter always invoke the home function for some reason, even though the urls are mapped to each separate individual function. I've tried researching a solution or at least a cause for this, but nothing has helped.

    • @Codemycom
      @Codemycom  10 месяцев назад

      It can only happen because you coded it to do that. Check your link, and your urls.py one of them is pointing to home. Or the function in views.py points home.

    • @infinitespace1982
      @infinitespace1982 10 месяцев назад

      @@Codemycom hi, thanks for your reply, I have rechecked everything and even compared it to your code, but there are no logical errors, and all urls have been defined and called correctly. I’ve also checked the views file as well.

    • @infinitespace1982
      @infinitespace1982 10 месяцев назад

      @@Codemycom these tutorials for now are using diango 3.0 and I’m using 4.0. I am aware the urls template is the same, but maybe the syntax for adding additional arguments may be different?

  • @magallonseancarl4061
    @magallonseancarl4061 Год назад

    Hey John, I was wondering how can I make the login method check the users'(not the admin's) username and password instead?

    • @Codemycom
      @Codemycom  Год назад +1

      It does that by default, of course is checks whoever is logging in at the time.

  • @ihandjikanasser3713
    @ihandjikanasser3713 2 года назад

    Respect 👍

  • @user-mv6jx4on6z
    @user-mv6jx4on6z 10 месяцев назад

    Which program did you use to code that you've coded for 22 minutes ? write the name please

    • @Codemycom
      @Codemycom  10 месяцев назад

      Say pretty clearly at the beginning of the video that it's Sublime Text and the Git bash terminal.

  • @viratraj194
    @viratraj194 2 года назад

    Sir can you please make a video for separate manager login or for separate manager user identification please 🙏🏻

    • @Codemycom
      @Codemycom  2 года назад

      Sorry, this series is finished.

  • @user-mh6ek3hv3k
    @user-mh6ek3hv3k Год назад

    thank you for the video although i have a problem. My error message does not show but i did everything the way you did in the video...any clue as to why?

    • @Codemycom
      @Codemycom  Год назад

      Sorry, I don't know what you mean by your "error messages does not show".

  • @abdullahmekki4386
    @abdullahmekki4386 Год назад

    I dont understand how authenticate function authenticate user I mean where it looks to ensure it is authenticated user or not

    • @Codemycom
      @Codemycom  Год назад +1

      Django has the functionality built into it.

  • @buddyftv4628
    @buddyftv4628 2 года назад

    Sir! Can you please create a video regarding Django Login with email and password

  • @yadneshdalvi2043
    @yadneshdalvi2043 5 месяцев назад

    What if we want to make multiple logins?

    • @Codemycom
      @Codemycom  5 месяцев назад

      I don't know what that could possibly be

  • @rushikeshshete6885
    @rushikeshshete6885 2 года назад

    How can we add that messages code in login.html file

  • @thomasyoung9161
    @thomasyoung9161 2 года назад

    I don't seem to be getting an error message when using invalid login details - it still redirects me to the homepage as though the credentials were those of a valid user - any ideas?

    • @Codemycom
      @Codemycom  2 года назад

      No clue, check your code vs mine and see what you did wrong.

  • @itsumair001
    @itsumair001 Год назад

    Hello Sir I have printed username and password in console its entered as same in database but still it returned none and cannt autorized the user

    • @Codemycom
      @Codemycom  Год назад

      You mistyped something in your code then. Rewatch the video and try to discover what.

  • @user-vx8co7mv2s
    @user-vx8co7mv2s Год назад

    Hello sir
    can we do the user authentication with email instead of username

  • @zainulhassan9186
    @zainulhassan9186 3 года назад

    How to Add 2-Step-Verification To This Login Page ?

    • @Codemycom
      @Codemycom  3 года назад

      I don't have any videos on that

  • @zainulhassan9186
    @zainulhassan9186 3 года назад

    (" How to Add 2-Step-Verification To This Login Page? ") - Can You Upload a Video For This ?

    • @Codemycom
      @Codemycom  3 года назад

      Might do that eventually

  • @sanskarkakde2552
    @sanskarkakde2552 3 месяца назад

    Where is models?

    • @Codemycom
      @Codemycom  3 месяца назад

      what do you mean?

  • @baptistaguivala4791
    @baptistaguivala4791 Год назад

    Good afternoon, I have a problem with my code in python django, can I share it with you to help?

    • @Codemycom
      @Codemycom  Год назад

      Sorry, I don't do any consulting.

  • @elishatech4600
    @elishatech4600 Год назад

    How do you host a Django website

    • @Codemycom
      @Codemycom  Год назад +1

      codemy.com/push-django-python-apps-heroku-web-hosting/

  • @saikiran9185
    @saikiran9185 2 года назад

    If I buy your courses , what is the validity?

    • @Codemycom
      @Codemycom  2 года назад

      Validity? No idea what you're talking about

  • @gabrielhernandez2338
    @gabrielhernandez2338 2 года назад

    Can i login with a normal user ?

  • @sonalisharma1854
    @sonalisharma1854 2 года назад

    can you please provide the code for this video

    • @Codemycom
      @Codemycom  2 года назад

      It's in the pinned comment as always

  • @ayushtripathi7985
    @ayushtripathi7985 3 года назад

    Sir I like your videos can you plz upload all your codemy courses on youtube for free because I love your way of teaching.

    • @Codemycom
      @Codemycom  3 года назад +1

      Thanks...no, I won't be doing that :-p

  • @Nathan-zc1qs
    @Nathan-zc1qs 2 года назад

    did anyone see the whatsupp guys at the begiinig kkkkkk

  • @shishirsapkota1483
    @shishirsapkota1483 2 года назад

    Walter white 2.0

  • @lan_network5473
    @lan_network5473 Год назад

    xersi glo

  • @seforaabigail6704
    @seforaabigail6704 2 года назад

  • @Charoiz
    @Charoiz Год назад

    username = request.POST['username']
    Didn't work for me, but
    username = request.POST.get('username')
    Worked.
    And the same with password.

    • @sicness0
      @sicness0 Год назад

      neither of both solutions worked for me. I have: "Not found/members/POST"

    • @piotrpoletek2525
      @piotrpoletek2525 Год назад

      I've got the same issue and I can login anly as admin. Anyone solved this?