Tim, you are doing great job. please make more and more videos on python. coz python is everywhere these day. please make zero to hero python course. thank you. god bless you buddy.
@@TechWithTim Hi Tim, first of all thanks for the tutorials. You have helped out tremendously. Do you still consider making the deployment episode? In any case, thank you
If your /logout route shows a method not allowed error (access denied) , Django 4.1 deprecates logging out via GET. Djangoproject docs uses a form (with csrf) with a button styled as a link.
A post request to logout should work, I don’t remember it much but in my code I had a form with logout button using POST request: “”” {% csrf_token %} Logout “””
Minute 11:11 , why is it not redirecting to the login page on the Login Here link? Great content. Keep up the good stuff. PD: Okay, I understand now. I leave the question just in case someone has the same doubt.
Where do we specify the location of login.html? In your case you created this inside registration folder so auth view function will try to look for template located at "registration/login.html" but I don't see you specifying this location anywhere in url_patterns. Could you explain that a bit ?
Not sure why but for some reason Django was giving an error saying that it could not find the file under mysite/main/registration - I moved the folder into that location and it works
Hello tim the way you add crispy in previous i follow it but it gives same error all time I try to resolve it but I can't do that I saw documention of django but it doesn't work plzz make a video on it or tell me how to do it I am gonna piss off from last video
Hey, I also faced the same issue, but resolved it later on. Someone named @CryseHD actually commented a solution for it on the previous video. You can find it when u go to the newest comments, their comment is the 4th newest comments. I hope that will help you!
a little problem for me i can't use crispy. I mean if i use the tim's code i have this error "Could not parse the remainder: '│crispy' from 'form│crispy'" and if i use {% crispy form %} crispy works but my buttons doesn't work. Any idea?
if you just type url as 127.0.0.1/8000/logout it will work. For using in template, just use also use csrf token if necessary. you can use it outside a form. i am a noob in django, so there may occur some issues
i wonder how come this video has so few likes? didn't people taking CS50 online course got stuck in registration? anyone from CS50 python & django course?
Dude ! You are awesome.
I was stuck at the login redirect problem for days and you just solved it in about 6 minutes.
Love you for that.
Still tried it but it doesn't like it
Your tutorials are awesome. They're so clear and concise thanks for making them.
Something acts weird
Tim : *chuckles nervously*
tec with tim, i love you bro!! cheers from Chile
Love your work. Thanks, Tim!!!
Tim, you are doing great job. please make more and more videos on python. coz python is everywhere these day. please make zero to hero python course. thank you. god bless you buddy.
You are zero and should feel zero.
Go take the Google course
you can solve the problem by using this : {% if user.is_authenticated or request.path == "/login/" %}
perfect. did it, and its work!
Django just kicks you everything in da face while with Flask you have to write a jwt authentication yourself... just perfect!
Tim, I wish you the best with your youtube channel. May I ask you if you've finished this django series and, if so, how many more episodes are left?
There are two episodes left! The last one will be deployment. Thank you :)
@@TechWithTim Hi Tim, first of all thanks for the tutorials. You have helped out tremendously. Do you still consider making the deployment episode? In any case, thank you
@@TechWithTim Ok, that was 2 years ago. Will it happen?:)
your user authentication help me very much. THANKS!
Nice tutorial you got there, how about implementing LDAP login with active directory?
Suuuper helpful, thanks man
If your /logout route shows a method not allowed error (access denied) , Django 4.1 deprecates logging out via GET.
Djangoproject docs uses a form (with csrf) with a button styled as a link.
what should we do to make logout page work
A post request to logout should work, I don’t remember it much but in my code I had a form with logout button using POST request:
“””
{% csrf_token %}
Logout
“””
@jesulayomy thanks
It helped me Thank u
Minute 11:11 , why is it not redirecting to the login page on the Login Here link? Great content. Keep up the good stuff.
PD: Okay, I understand now. I leave the question just in case someone has the same doubt.
Great content!
Nice bro keep it up........
Tim be like: oh it doesn't work? just forget about it hahahah
Where do we specify the location of login.html? In your case you created this inside registration folder so auth view function will try to look for template located at "registration/login.html" but I don't see you specifying this location anywhere in url_patterns. Could you explain that a bit ?
Not sure why but for some reason Django was giving an error saying that it could not find the file under mysite/main/registration - I moved the folder into that location and it works
Hi Tim! Thank for the video. I have a question: how can I remove the autocomplete from the login fields?
Csrf token is a token that prevents cross side request forgery.
basically 13 min tutorial that doesn't have a useful solution. I dont get why like to dislike ratio is so good
In my login form the input fields and labels are not visible. What could be the reason?
I'm doing everything the way Tim shows but I can't get my form to display the Crispy format. Anyone can help? I can share my code.
Is Django goog to create some app with separated from and back end?
Could you make a tutorial series for the library pymunk using pygame? No one has done it yet on YT
Hello tim the way you add crispy in previous i follow it but it gives same error all time I try to resolve it but I can't do that I saw documention of django but it doesn't work plzz make a video on it or tell me how to do it I am gonna piss off from last video
Hey, I also faced the same issue, but resolved it later on. Someone named @CryseHD actually commented a solution for it on the previous video. You can find it when u go to the newest comments, their comment is the 4th newest comments. I hope that will help you!
a little problem for me i can't use crispy. I mean if i use the tim's code i have this error "Could not parse the remainder: '│crispy' from 'form│crispy'" and if i use {% crispy form %} crispy works but my buttons doesn't work. Any idea?
After block content give indentation like in python ur problem will be rectified
can i add email field in the login form?
The logout function isn’t working! How do I solve this
if you just type url as 127.0.0.1/8000/logout it will work. For using in template, just use
also use csrf token if necessary. you can use it outside a form.
i am a noob in django, so there may occur some issues
Hey tim i am facing an error in html file on "{ % endblock % } " , can you help me out on this?
fixed?
thanks.
What keyboard do you have
Loud af
Can i have source code for this
bro i am not getting login form?how can i solve this?
Thank you so much man =)) your Tutorial was very helpful ==))) like and subscribe from me =)
i wonder how come this video has so few likes?
didn't people taking CS50 online course got stuck in registration?
anyone from CS50 python & django course?
Nice bro keep it up........
Nice bro keep it up........
Nice bro keep it up........