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.
@zachfenton6083 жыл бұрын
Still tried it but it doesn't like it
@manthanguptaa3 жыл бұрын
Something acts weird Tim : *chuckles nervously*
@piyush66314 жыл бұрын
Your tutorials are awesome. They're so clear and concise thanks for making them.
@jesulayomy11 ай бұрын
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.
@imadelachiri54753 жыл бұрын
you can solve the problem by using this : {% if user.is_authenticated or request.path == "/login/" %}
@andrektm2 жыл бұрын
perfect. did it, and its work!
@BLXCKXNG2 жыл бұрын
tec with tim, i love you bro!! cheers from Chile
@Wurstfinger-rl1zi5 жыл бұрын
Django just kicks you everything in da face while with Flask you have to write a jwt authentication yourself... just perfect!
@1nduck5 жыл бұрын
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?
@TechWithTim5 жыл бұрын
There are two episodes left! The last one will be deployment. Thank you :)
@Noolemans3 жыл бұрын
@@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
@AnnaIsHere2 жыл бұрын
@@TechWithTim Ok, that was 2 years ago. Will it happen?:)
@rayganmudberry3755 жыл бұрын
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.
@JK360noscope4 жыл бұрын
You are zero and should feel zero. Go take the Google course
@PlaneToTheBrainES5 жыл бұрын
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.
@RobThompsonRealtor3 жыл бұрын
Love your work. Thanks, Tim!!!
@Heresjaken4 жыл бұрын
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
@mennatullahabdelrahman3840 Жыл бұрын
Tim be like: oh it doesn't work? just forget about it hahahah
@weixiangng82793 ай бұрын
Nice tutorial you got there, how about implementing LDAP login with active directory?
@kevinbevil69894 жыл бұрын
Suuuper helpful, thanks man
@Didi-jo5gr4 жыл бұрын
your user authentication help me very much. THANKS!
@ariannaschelfi3763 жыл бұрын
Hi Tim! Thank for the video. I have a question: how can I remove the autocomplete from the login fields?
@basmulder35885 жыл бұрын
Csrf token is a token that prevents cross side request forgery.
@sergey55513 жыл бұрын
Great content!
@rohandarji20013 жыл бұрын
In my login form the input fields and labels are not visible. What could be the reason?
@saharamanson19704 жыл бұрын
Nice bro keep it up........
@thetruereality22 ай бұрын
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 ?
@elishashmalo37315 жыл бұрын
Could you make a tutorial series for the library pymunk using pygame? No one has done it yet on YT
@soorajkp96152 жыл бұрын
It helped me Thank u
@dewangbhavsar74432 жыл бұрын
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.
@menkiguo78053 жыл бұрын
Is Django goog to create some app with separated from and back end?
@chidiohiri4 жыл бұрын
The logout function isn’t working! How do I solve this
@arifurrahmanarif2414 жыл бұрын
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
@abdulwadudkhan68410 ай бұрын
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
@blackrose393426 күн бұрын
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!
@arifurrahmanarif2414 жыл бұрын
can i add email field in the login form?
@sebastianeckhart69913 жыл бұрын
basically 13 min tutorial that doesn't have a useful solution. I dont get why like to dislike ratio is so good
@guyfrd86384 жыл бұрын
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?
@rakshanaravindran98092 жыл бұрын
After block content give indentation like in python ur problem will be rectified
@drueprofessor5 жыл бұрын
What keyboard do you have
@JK360noscope4 жыл бұрын
Loud af
@surajtyagi6765 жыл бұрын
Hey tim i am facing an error in html file on "{ % endblock % } " , can you help me out on this?
@thunderpatel6250 Жыл бұрын
fixed?
@dinindutheekshana22543 жыл бұрын
Can i have source code for this
@khmshorts85673 жыл бұрын
bro i am not getting login form?how can i solve this?
@sainco30365 жыл бұрын
thanks.
@sergeikrasnovskii97673 жыл бұрын
Thank you so much man =)) your Tutorial was very helpful ==))) like and subscribe from me =)
@arifurrahmanarif2414 жыл бұрын
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?