How To Register Users - Django Wednesdays #24

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

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

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

    ▶️ Watch Entire Django Wednesdays Playlist ✅ Subscribe To My TH-cam 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

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

    First of all, thank you for this amazing series. I am learning a lot from you.
    For those people who get something like this error:
    The view didn't return an HttpResponse object. It returned None instead.
    add this "else" to the code to temporarily solve the problem:
    if form.is_valid():
    ...
    else:
    messages.success(
    request, "There Was An Error Registering. Try Again...")
    return redirect('register_user')

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

    As always, I learn a lot from your videos . . . can't wait for Wednesday each week! Who cares about weekends!!!

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

      Ha, thanks! And did you stick your head outside this morning here in Vegas (saturday)? The air is yellow today LOL

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

      @@Codemycom We need California to confine its wildfire smoke to within its borders. That might help!

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

      @@briangreenberg153 yep!

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

    One of the best channels I have come across so far on TH-cam. I was able to incorporate what you taught in my project. Works like a charm! Thank you :)

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

      Happy to hear it!

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

    This video is so much better than other content I've followed for this stuff. Big fan!

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

      Thanks! Tell your friends ;-)

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

    Maaaaaan, this is simply amazing!!!! After watching this, I now understand the Django user registration creation process because it's so well explained. I just looove Django.

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

      Happy to hear it!

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

    Just wanna say this guy taught me me loads , thank you

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

      Happy to hear it!

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

    This channel helps me a lot huhuhuhu loveloooots!

  • @MatíasEzequiel-y2y
    @MatíasEzequiel-y2y ปีที่แล้ว

    Excelente como siempre! Muchas gracias!

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

    I have learned a tons of your Django videos. Thank you so much!

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

      Happy to hear it!

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

    Thank you very much for your videos! Great tutorials!!

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

    you have done great job thank you love from india❤❤

  • @MarilynMarquez-ib4or
    @MarilynMarquez-ib4or ปีที่แล้ว

    Hey John. First of all: Thanks for your videos! I can't tell you how much they've helped me understand Django and how much they've helped me at work! I am having an issue with the registration page, though. I have the exact same code as you, but when I use the function-based view like you have it, I get an error saying that it didn't return an Http object, that it returned None instead (I am using Django 4.1). I switched to a class-based view and it worked, though.

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

      when people say they have the exact same code as me...99% of the time, they don't. There's usually a typo they don't notice.

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

    Hello, I was just wondering, why isn’t the last return statement in views indented and placed within the else statement?

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

    Thanks for the great video! I do have a brief question. At 9:00 when you pass the form into the render function, why isn't the object scoped to the if and else statements? I'm having a hard time understanding why django allows for this.

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

    Thanks a lot Sir.
    Please could you make a video on how user can log in with the combinaison of email and password?

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

    Love your video series. I have been following both your flask and django series. I was wondering if you know of a way to provide Admin approval for user registration? Any change you might be able to do a video on the topic?

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

      I just did a video on admin approval of events...

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

    John, how do we center the word "August" that appears on the rendering of the calendar on the home page this month?

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

      Going to have to go into a whole video on styling that thing...

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

    Hey john, So I did exactly what you did. I successfully registered a user and it was also logged in after registering. BUT when I logged it out and tried to log that user in again, nothing happens. Please help me...

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

      Not sure what you did, but it wasn't exactly what I did, you missed something...you'll have to rewatch and figure out what that was...

  • @omartoumar8415
    @omartoumar8415 9 หลายเดือนก่อน

    If I am developing my website using Django and Vue, would this code work for me as well?

    • @Codemycom
      @Codemycom  9 หลายเดือนก่อน

      Probably, though I've never used Vue

  • @greetingsgentlemen.8179
    @greetingsgentlemen.8179 3 ปีที่แล้ว

    Can you tell us how to customize the form text? Where it says "The password must be ______". I can't figure out how to do that. Tyyyy your videos are so helpful!!!

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

      I said in the video that I'd talk about customizing it later.

  • @MalharLathkar
    @MalharLathkar 4 หลายเดือนก่อน

    is the source code for the examples in this video available? if yes, please share the URL

    • @Codemycom
      @Codemycom  4 หลายเดือนก่อน

      In the pinned comment

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

    Please how to recive notification in my gmaol when someone cotact me in contact form

  • @killertankpro9000player
    @killertankpro9000player 5 หลายเดือนก่อน

    how do i edit the text that django forms has by default?

    • @Codemycom
      @Codemycom  5 หลายเดือนก่อน

      change it in the forms.py file...I have videos showing that if you look around on the channel

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

    👍

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

    I love you

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

      Thanks!

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

    How can I get these codes?

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

      The code is in the pinned comment.

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

    please explain in detail

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

      explain what in detail?

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

    Walter white

  • @hasibullahwardak4514
    @hasibullahwardak4514 11 หลายเดือนก่อน

    Didn't work for me.

    • @Codemycom
      @Codemycom  11 หลายเดือนก่อน

      that's because you did it wrong...check your code for errors

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

    I got this error "The view pages.views.sign_up didn't return an HttpResponse object. It returned None instead."

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

      Check your code vs the video and figure out what you did differently.