Django Tutorial #25 - Redirecting After Login

preview_player
Показать описание
Hey gang, in this django tutorial I'll show you how we can redirect a user once they have logged in.

----- COURSE LINKS:

======== Other Tutorials =========

----- NODE.JS TUTORIALS

----- MONGODB TUTORIALS

======== Social Links ==========

Рекомендации по теме
Комментарии
Автор

Thank you very much! I have spent the last 3days battling this problem. It's my first django project

adebayoadeyemi
Автор

What a nice trick! After looking around in the Django Docs and other places I couldn't find anything similar. Worked for me.

fabianabarca
Автор

I can't seem to get the redirect working - instead of directing me to 'create' it redirects me to 'acticles'

DanielLeachTen
Автор

3:30 tạo hàm trong login.html để xử lí request đăng nhập để xác thực (khác với đăng nhập để điều hướng)
5:40 thêm code trong hàm của views để nhận request -->> trang html request mong muốn

DuongTran-zhtd
Автор

This was so clear and easy to understand. Thank you very much

tarikulislambhuiyan
Автор

This saved me a ton of hassle. Works perfectly and makse sense. Thank you!

jimiclapton
Автор

hey man thank u i was searching this concept for almost 10 days thank u very much for your guidance

shubhampawar
Автор

Does it have protection from exploiting? I mean you didn't validate the "next" variable. Will django make it for you?

_biwan
Автор

Great tutorial, having all the things I want. Thankyou Sir!

hassamchundrigar
Автор

Hi love your channel!! I've watched almost all of your playlists! I was wondering though if you could possibly make a PHP tutorial in the future or a Grav CMS tutorial series! Thanks!

jonaslee
Автор

Amazing video! Really clear and very helpful, thank you so much!

TorrinLeonard
Автор

Thanks a lot. I just solved a problem that had taken me an hour

ameerhbaig
Автор

This is still working, Very helpful video

abhikb
Автор

what if user made mistake first try and authorized at second attempt? Redirect to required page wouldn't work, I guess.

MrLotrus
Автор

One question Shaun, does the "next" parameter come with Django, I didn't see you add such a functionality...

beosoftlabs
Автор

This is a great tutorial! I am new to Django but I can't get my head around the structure of Django, what goes where etc. Does anyone know the best way in which I can learn this so I would be able to make an app myself from scratch? 😃

elenaperez
Автор

Clear and to the point, thank you very much!!

haithamali
Автор

After login it redirected to article list page it doesn't goes to creat page what to do

naveen
Автор

throws Error 
NoReverseMatch at /accounts/login/
Reverse for '' not found. '' is not a valid view function or pattern name.

yt-
Автор

Really love this channel!! Can you make a series of Laravel 5.5 tutorial from scratch?? Thank you merry xmas :)

johnyonardpauly