▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My KZbin Channel: bit.ly/3bWN6wj 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
@luffytaro-tg1gm Жыл бұрын
for anyone getting the error where django is not recognising the request url, it is because of the extra user id in the beggining before /password. So, just add path('/', include('members.urls')), in the urls. py file of the ablog directory.
@achafams9 ай бұрын
thanks bro
@thuongnguyenxuan6769 ай бұрын
Thanks @luffytaro-tg1gm so much
@Daibend3 жыл бұрын
Dear Author, I'm really grateful to you for this lesson, I'm new in Django and this video was useful to me.
@Codemycom3 жыл бұрын
Glad to hear it!
@johanneskrugersoftwaredeve94084 жыл бұрын
I m very new in Django: I love your "Django Blog" Series. Keep on! Best greeting from Berlin
@Codemycom4 жыл бұрын
Welcome aboard! Glad you're enjoying it!
@zeruihai60513 жыл бұрын
Man I have watched like twenty videos on ur channel and I just wanna make friends with you! You are insane
@Codemycom3 жыл бұрын
Ha thanks!
@frenziechannel9786 Жыл бұрын
I don’t know if you will read this but I hope so. When I click on the link for change password on “edit profile” it send me an error because it redirects me to 1/password instead of only /password. Number “1” it’s for the user id. And that’s were I have to stop and found no answer on internet, maybe you can help me. Thank you so much for you help and quality videos!!!
@Dylan-tb6ft Жыл бұрын
I am actually having this exact same issue, i inspected the source on the page and found the django form has a built in anchor tag and that appears to be the default URL pathing in the tag in the HTML itself. I cant find the way to change or override this at the moment so my only fix was to make my own extra button above the save button with django that has the correct URL path but it looks really dumb having the broken link that i cant change right above the working button.
@barriesimpson Жыл бұрын
@@Dylan-tb6ft Did you sort this out? I am having the exact same problem and have been stuck for 2 days already.
@Dylan-tb6ft Жыл бұрын
@@barriesimpson no i cant figure it out so i have left it for now and im simply moving on with the project. i think its related to there being slightly different versions of django and python since this released. I even posted a stack overflow question and didnt get any replies or help.
@kelvinmacharia3715 Жыл бұрын
I am here now. Having the same issue. I see it has been over a month, did you ever get a solution?
@Dylan-tb6ft Жыл бұрын
@@kelvinmacharia3715 unfortunately not. good luck getting any helpful response from John. He only ever replies to tell us we have an issue with our code and to rewatch the video and see what we did wrong lol. I have a suspicion that reverting the version of django to the version he is using in the video might solve it.
@andrewsmichael4163 жыл бұрын
God bless you for the tutorial sir Your explanation is always pretty clear and easy to understand. Please can you also make video based on how to create an e-wallet with django
@Codemycom3 жыл бұрын
No sorry, I wouldn't know about that
@rahamanhabib13474 жыл бұрын
This was a nice elaboration in depth... Thank you and you are doing great Job!!
@Codemycom4 жыл бұрын
Glad it was helpful!
@DimpleDaisy0111 ай бұрын
Just wanted to say thanks for making such helpful content. Is it possible to change a password without requiring the old one? What happens if a user forgets their password? Are there alternative methods for regaining access?
@Codemycom11 ай бұрын
No you need to prove that you own the account
@saibademais3 жыл бұрын
You have created a solution using a template for Success Password. Don't have a similar option for the previous invalid Password case? Is there an unsuccess_url command?
@algaspar54133 жыл бұрын
I really liked your video. I followed the video carefully, though I used my authentication folder rather than your members folder as I was testing on my own Django project. It seems to work fine, but I end up with the four bulleted password requirements help lines showing up twice. They don't go away when I switch to my own PasswordChangingForm instead of the Django PasswordChangeForm; so when I add them into the html template, they show up twice. Do I need to do more than just inherit PasswordChangingForm from PasswordChangeForm? I don't like the standard placement of the help text, and I'd really like to have control over where it goes. Thanks!
@algaspar54133 жыл бұрын
I just noticed that while I thought everything was working, I see that I'm not really getting my new PasswordChangingForm because my field labels didn't change to New Password1 and New Password2. My views.py and urls.py seem to be fine for password_success, but if I try to point at a different file for my password_change_form, it continues to point at the old one. If I rename the old one, then I just go to the Django default password change page with the admin look...
@algaspar54133 жыл бұрын
Got it. I had a garbage collector in my authentication/urls.py of "re_path('^', include('django.contrib.auth.urls')),". I had put my password_change and password_success after that. I moved it back to the end and all is working. I just need to change the labels...
@bozok1903 Жыл бұрын
It helped me a lot. Thank you.
@Codemycom Жыл бұрын
Welcome
@saibademais3 жыл бұрын
Congratulations from Brazil
@Codemycom3 жыл бұрын
Thanks!
@zubin16774 жыл бұрын
Can we change the name from New Password1 and New Password2 to something else?
@Codemycom4 жыл бұрын
Why?
@zubin16774 жыл бұрын
@@Codemycom seems a bit confusing in my opinion, we can have something like "New Password" and "Confirm New Password"
@nelsonkshetrimayum67904 жыл бұрын
@@Codemycom I have the same doubt here Sir. I want the newly changed labels of the entry boxes to be as it was before we bootstrapped it. 'New password1' to be 'New Password' and 'New password2' to be 'New password Confirmation'
@f1nnha Жыл бұрын
i am following your tutorials and like them very much but i still dont understand why u arent using widget-tweaks even though they are super easy and efficient to use especially if your working with bootstrap and want full customization of the forms
@selildim7389 Жыл бұрын
This was helpful thanks a lot.
@ignaciod.52873 жыл бұрын
How can I change the name of the label? For example it says "New password1" and "New password2". I would like it to say "New password" and "Password confirmation"
@shriyanshpurohit87063 жыл бұрын
Well, You can change in two ways as: First Way (in your template): {{ form.errors }} Old Password{{ form.old_password }}New Password{{ form.new_password1 }}Password Confirmation{{ form.new_password2 }} Another way (make changes in forms.py file in that particular form): Change the first three lines directly below your main class and just above your Meta class from this video to: old_password = forms.CharField(label="Old Password", widget=forms.PasswordInput(attrs={'class': 'form-control', 'placeholder':'Enter your old password'})) new_password1 = forms.CharField(label="New Password", widget=forms.PasswordInput(attrs={'class': 'form-control', 'type':'password', 'placeholder':'Enter your new password'})) new_password2 = forms.CharField(label = "Password Confirmation", widget=forms.PasswordInput(attrs={'class': 'form-control', 'type':'password', 'placeholder':'Reconfirm your new password'})) Notice that you need to attach only the "label" property in front of your widget property. Syntax as: label = "Your Label" And template in second method should contain {{ form.as_p }}
@PhillyEastSide3 жыл бұрын
@@shriyanshpurohit8706 You sir, are a legend! thank you!
@hariharanbalasubramanianpr42434 жыл бұрын
is there any way that the logged-in user is able to see his own password?? because, its not look to view that algorithm stuffs showing for the logged in person...
@LucasDaniel-rz7ki2 жыл бұрын
You don't probably want that. For security concerns you should never show (or send by email) plain text password, even to the logged in user (you never know who is actually behind the screen or even capturing it). You can implement a "reset password" feature instead and make sure you are applying two factor authentication like sending the reset link in the registered email, SMS, etc.
@chyldstudios3 жыл бұрын
Excellent explanation!
@Codemycom3 жыл бұрын
Glad it was helpful!
@sulimanallahgabo10804 жыл бұрын
it's great tutorial thanks very much however if u did forgot password the blog will be nice
@Codemycom4 жыл бұрын
We'll look at that soon...
@sulimanallahgabo10804 жыл бұрын
@@Codemycom great i'll be waiting thanks
@Codemycom4 жыл бұрын
@@sulimanallahgabo1080 Cool
@zeek_zone4 жыл бұрын
You typed from_class instead of form_class!!! but still works!!!! how did django handled it !!!
@mereram95364 жыл бұрын
How many more videos will be there. ?
@Codemycom4 жыл бұрын
No idea
@versatg57223 жыл бұрын
I do everything I keep seeing The current path, password /, didn't match any of these
@derekkroeker45823 жыл бұрын
For me I had to add profile/password/, I have no idea why, also the path to the edit profile for me I had, profile/edit/. How did your path look like?
@supatutorial47372 жыл бұрын
awesome video! thank you very much
@Codemycom2 жыл бұрын
Very welcome!
@nagendranfriends31534 жыл бұрын
One doubt sir , if the user forgot the passwords if they contact adminstator to regenerate new password , is the SUPERUSER has the rights to change any other user's password
@Codemycom4 жыл бұрын
we'll probably eventually build a password reset feature
@themilanfc2 жыл бұрын
very helpful
@Codemycom2 жыл бұрын
Thanks!
@spreadhysteria36504 жыл бұрын
I wonder how to change thier labels?
@helenasoria3874 Жыл бұрын
Sadly, I tried this and didn't work out and I dont know how to fix the error
@Codemycom Жыл бұрын
coding doesn't 'work' or 'not work'. If it didn't work, that means you did something incorrectly. Check your code vs the video and determine what you did differently... or google the error you got.
@amirhosseinebneroomi72804 жыл бұрын
it healed my headache
@Codemycom4 жыл бұрын
Nice!
@danishahmad6334 Жыл бұрын
127.0.0.1:8000/members/password/ instead i am getting this url 127.0.0.1:8000/1/password/ when i click on this form in edit profile
@Codemycom Жыл бұрын
what did you do differently from the video?
@clive6793 Жыл бұрын
did you sort this?
@Dineshtech-xr8id Жыл бұрын
im also getting the same
@Dineshtech-xr8id Жыл бұрын
what about you@@clive6793
@clive6793 Жыл бұрын
@@Dineshtech-xr8id still trying to fix it
@marz49642 жыл бұрын
form_class not working from_class working why?
@ilhamferyanto21584 жыл бұрын
thanks, i'm waiting this video
@Codemycom4 жыл бұрын
Enjoy!
@akshatjai2584 жыл бұрын
Can I get code of full playlist?
@Codemycom4 жыл бұрын
github.com/flatplanet/djangoblog
@akshatjai2584 жыл бұрын
@@Codemycom Thanks
@Codemycom4 жыл бұрын
@@akshatjai258 Welcome
@michaelnadeau38123 жыл бұрын
Why don't we have a method for changing a password when the User has forgotten their password?
@Codemycom3 жыл бұрын
Because I never got around to that.
@nameteGM8 ай бұрын
no me funciona reverseLazy
@nachiketkanore4 жыл бұрын
Make tutorial on hosting the entire blog site
@Codemycom4 жыл бұрын
Will do, but I've got lots of videos showing you how to push django apps to heroku for hosting