Bro can u help me..I got stuck in the middle of sign up page 16:30
@Dhruv-f6bАй бұрын
hi sir, @15:42 when you sign in, you get redirected to the home.html page and later when you sign up, you get redirected to the sign in page. I'm not getting redirected in both cases. Will this issue be solved if I change the django version as I'm using the latest 5.1.1 version.
@rohan-yeoleАй бұрын
It's not an version issue...make sure you added redirect constant in setting file for logout.
@Aj-bw5rmАй бұрын
Sorry but bilkul samjh nahi aya
@rohan-yeoleАй бұрын
haha...okay...will do better next time...
@siddusidh9705Ай бұрын
I have a doubt without creating database directly we can store new users
@rohan-yeoleАй бұрын
can you elaborate?
@crclubАй бұрын
Do i need to set the project in virtual box ?
@rohan-yeoleАй бұрын
you can!
@iamcardi3215Ай бұрын
I have it working but when I try to go to my signup it gives me an UnboundLocalError at /signup/
If you have some error with logut the last version has differents problems with this, I recomend you django 4.2 version
@rohan-yeoleАй бұрын
4.2 is more stable than latest.
@AhmadMousavi-pp5xr2 ай бұрын
thanks its great but when i login at 15:50 , this error comes: TemplateDoesNotExist at / what can i do? i followed your actions
@rohan-yeole2 ай бұрын
do you created html files in templates folder? can you re-check?
@SATHISHKUMAR-hg5et2 ай бұрын
in the video you didn't complete the if else loop but how it is working for you
@rohan-yeole2 ай бұрын
which if else? any context?
@SATHISHKUMAR-hg5et2 ай бұрын
the github link is not working
@rohan-yeole2 ай бұрын
Thanks for letting me know. I have update in description. sharing here too github.com/yeole-rohan/User-Authentication-and-User-Signup-in-Python-using-Django-/tree/main
@sufiyan.b72143 ай бұрын
Logout 405 error /Same problem sir can you show the def function of logout and logout.html file
@rohan-yeoleАй бұрын
please refer github link
@artbylucky4006Ай бұрын
Still same error @@rohan-yeole
@PraiseNkhoma_20053 ай бұрын
The submit button for login page isn't working after signing up
@PraiseNkhoma_20053 ай бұрын
Hello may you respond
@rohan-yeoleАй бұрын
what happened exactly. any error
@AdarshVK-g1q3 ай бұрын
please tell how to create user
@rohan-yeoleАй бұрын
visit signup link.
@cutecatstv263 ай бұрын
This is very useful for me, create more like this
@rohan-yeole3 ай бұрын
Thank you so much
@rohithgowdax3 ай бұрын
Thank You so Much sir 😍
@gamingarea90113 ай бұрын
Django ka default page show ho rha hai. Debug false kar diya phir bhi keh raha hai debug true hai
@Krishna-y2n3 ай бұрын
sir getting error while logout please help and provided GitHub url says "not found" 127.0.0.1:8000/accounts/logout/ Error: Method Not Allowed: /accounts/logout/ "GET /accounts/logout/ HTTP/1.1" 405 0
@ASTRALABSGH4 ай бұрын
nice video ver educational can you please do one with top verification
@rohan-yeole4 ай бұрын
Okay..Will see if time permits....cheers
@ifiokudofe13684 ай бұрын
The best video on the topic so far
@rohan-yeole4 ай бұрын
thank you.
@MSaivarshitha4 ай бұрын
github page is not working ..could u give correct one
@rohan-yeole4 ай бұрын
can u explain more?
@JainyVarghese4 ай бұрын
sir, from the login page I can't go to the home page. it says page not found. please help me sir, I got stuck here.
@rohan-yeole4 ай бұрын
did you added login_redirect_url = '/' in settings file?
@jainmaria56304 ай бұрын
@@rohan-yeole I updated the settings, and now it is working fine. Thank you so much for the excellent video. Hope we get more videos in the future.
@AdarshVK-g1q3 ай бұрын
can you send proper code to update there
@QuangThangTa-qi1zc5 ай бұрын
it is not logging out, I got HTTP ERROR 405
@MerinaFidelis4 ай бұрын
Create a form of logout and set the method to post
@sufiyan.b72143 ай бұрын
Logout 405 error /Same problem sir can you show the def function of logout and logout.html file
@crclubАй бұрын
@@MerinaFidelis after that only that error
@akashkumarmaurya710426 күн бұрын
Check url and in the form
@Anime_4ver24 күн бұрын
The logout _user is my url path for logout view. logout(request) is inbuilt function. def logout_user(request): logout(request) messages.success(request, "Logged Out") return render(request, login.html)
@QuangThangTa-qi1zc5 ай бұрын
it is not logging out , I got HTTP ERROR 405 error
@YuvrajBagga3 ай бұрын
same issue
@thehindu99725 ай бұрын
Bro can u pls share your video link : Django Deployment
@rohan-yeole5 ай бұрын
what exactly "Django Deployment" on?
@thehindu99725 ай бұрын
@@rohan-yeole anyone bro but I want to make my project into live 😞 share one best vidoe
@rohan-yeole5 ай бұрын
@@thehindu9972 here its a free platform kzbin.info/www/bejne/Y2appWyNhLyDfbMsi=x8vcRC6zdEuvbC0o
@VapTex5 ай бұрын
it is not logging out , sadly doesnt work
@rohan-yeole5 ай бұрын
Does other URLS works for you? what error you faced?
@eugeniocapriccioso5 ай бұрын
Thank you bro your tutorial is concise and clear
@rohan-yeole5 ай бұрын
Glad to hear that
@salwanoor18095 ай бұрын
Hello. I don't know why in my views.py return render(request,"home.html", {}) comes with exception thrown 'base' is not a registered namespace. Please help me out on this.
@rohan-yeole5 ай бұрын
This you created base.html file?, I think not, make sure you have that in templates folder
@AnithaPoly6 ай бұрын
sir from signup page not redirecting to login page
@rohan-yeole6 ай бұрын
please check redirect from signup view, should be "login"
@sachinprasad75946 ай бұрын
Redirect kaha se aya
@rohan-yeole6 ай бұрын
timeframe?
@sachinprasad75946 ай бұрын
@@rohan-yeole likha hai
@joswinemmanuel6 ай бұрын
Sir when I do /accounts/logout/ at 15:50 , it is not redirecting to Django administration Logged out, but showing 'This page is not working HTTP ERROR 405'... Sir can you help me.... Tell me why
@joswinemmanuel6 ай бұрын
Sir problem was solved when I installed Django 4.2.8... Frist Django 5.0.4 was installed... That caused the error
@rohan-yeole6 ай бұрын
this is nice. generally use django version 4.0 or 4.1, they are stable now
@thatomashalaba69654 ай бұрын
@@rohan-yeole I changed my install to 4.1 and 4.2.8 but still getting Method Not Allowed (GET): /accounts/logout/
@kisirinyasiraje91177 ай бұрын
thanks broo but my css didnt load
@rohan-yeole7 ай бұрын
hey hi, you need to run python manage.py collectstatic command in terminal to collect css,img or js files to serve. also with this static root setting in settings.py file.
@SiyaSharma-u2t7 ай бұрын
Sir please make a one short for note sharing app using django
@rohan-yeole7 ай бұрын
can you elaborate? didn't get it. you mean youtube short?
@meet.krunalrana7 ай бұрын
why did you jump steps , need to add user creation steps 15:38
@rohan-yeole7 ай бұрын
Might have missed to show in video while editing.
@AdarshVK-g1q3 ай бұрын
can you tell how to add user in this sir
@krisuu41067 ай бұрын
how did u do /accounts/logout/ at 15:50 , for me its not working
@rohan-yeole7 ай бұрын
here you can find all routes docs.djangoproject.com/en/5.0/topics/auth/default/#module-django.contrib.auth.views
@SiyaSharma-u2t7 ай бұрын
How to update the page for the note sharing app
@rohan-yeole7 ай бұрын
Pass on the I'd in url, use that id in function based view, with method of quesryset Somemodel.objects.filter(id=id).update(field=value). You must use PUT method of request to do this.
@Zarakkahnn7 ай бұрын
Honestly I'm trying to follow each and every step but when i see an error it angers me a lot. I don't know what's the problem whenever i try to do something it never gets completed. In this tutorial when you do something it goes well but when i do it something pops up
@rohan-yeole7 ай бұрын
what is happening?
@Zarakkahnn7 ай бұрын
@@rohan-yeole i had an html login page with a simple for ... I added the csrf_token in the form and it is showing it in the Html browser view as a text. Next i had created another page Dashboard.html where when i click on the Sign In button on the login.html page it would redirect it to the dashboard.html. but it is showing some error says template does not exist at accounts/login
@SufficientDaikon7 ай бұрын
that's just the nature of being a programmer, encountering errors is the only constant
@ramakanttiwari8357 ай бұрын
My logout functionality is not working
@rohan-yeole7 ай бұрын
what is actual error you are getting?
@Soulsandpiro7 ай бұрын
Bhai shab 1st
@mvega87127 ай бұрын
Please create more tutorials like this one... pretty impressive and straightforward
@thorodinson81878 ай бұрын
Whats the username and password??
@rohan-yeole8 ай бұрын
the one you have created. through -- python manage.py createsuperuser
@thorodinson81878 ай бұрын
@@rohan-yeole I registered and then logged in , then it worked . I was directly trying to login(was my mistake) , anyways thanks for the video it was great👍
@cheddaberetta116 ай бұрын
@@rohan-yeole How would you get the registration page to automatically make that superuser for you?
@AdarshVK-g1q3 ай бұрын
@@rohan-yeoleplease tell how to create user
@bilalazhar91398 ай бұрын
Template doesn't exit at? Error any solution?
@rohan-yeole8 ай бұрын
how you have configured templates in settings?
@harshalshah10588 ай бұрын
static not working for me in link href line of base.html...how to resolve this?
@rohan-yeole8 ай бұрын
{% load static %} add this tag after head tag.
@harshalshah10588 ай бұрын
@@rohan-yeole already added..still giving error
@rohan-yeole8 ай бұрын
@@harshalshah1058 could share code in comment, base.html
@VeeraBhadraGuptaCharugalla8 ай бұрын
Sir, whit what details you have logged in at 15:37 min
@meet.krunalrana7 ай бұрын
you have to crate user using Django commands
@rohan-yeole7 ай бұрын
use python manage.py createsuperuser to create user.
@AdarshVK-g1q3 ай бұрын
it's not working can you send correct code to create user
@VeeraBhadraGuptaCharugalla8 ай бұрын
With what details you have logged in at 15:37
@thorodinson81878 ай бұрын
What did you put , mine is not working
@AdarshVK-g1q3 ай бұрын
yes for me too it's not working
@ajimccullum28378 ай бұрын
Sir ,I have one doubt, please give the you mail??
@rohan-yeole8 ай бұрын
please reach out.
@9GameCastGameTv9 ай бұрын
thx <3
@crisp97349 ай бұрын
bro remove signup warnings ofc no one like this warning
@rohan-yeole9 ай бұрын
Okay...but as learner person should know. Removing it may vary depending upon requirements.
@nandithass73269 ай бұрын
9:13 csrf is not working for me . showing templae does not exist
@rohan-yeole8 ай бұрын
Sid you restarted the server after creating an html file. Django server doesn't know if a new file is created!