It's been now few days since i've started to follow your tutorials because i'm beginning django for a project and i can only say a big thanks you because it really help me to understand the framework a bit better, I have a basic developement level but i'm more into network and cybersecurity stuff so it's always good to have videos like this to help building website fast and clean :)
You are a great Teacher Cryce!!! Super helpful your course. I am stuck at this development phase, but I don't understand what's wrong. Any chance to reach out? or someone in your community can help me?
Hey, Great Video. Thanks for great content However at 23:43 you created a div with class invalid-feedback and in the register.js file, you used invalid_feedback at 24:23? Then, my usernameField.classList.add("is-invalid") is not working ie not setting it to red Any way you can help me out. Looking forward to your response. Thanks for grooming the next generation of programmers
Also, for the feedBackArea.innerHTML = `${data.username_error}`; section, it may be helpful to include a notation to the other viewers that those quotes surrounding the paragraph tags are backticks, not single quotes. Great video nevertheless.
Awesome 👍...but don't you think if we are using csrf_exempt decorator, we are compromising on the security that django already provides by using csrf token? I am sure fetch api should be able to send csrf token too to the django backend...and if that is the case then we need not use csrf exempt decorator...Is that possible? Please advise
I think if you replace with this "register.js" (as above), the csrf_token exempt decorator would not be required....of course your "usernameField" will differ because you choose different id on the html form. But I tried this with above code and it worked. Thank you for this excellent series :)
Error comes, Uncaught (in promise) syntexerror :Json.parse : unexpected character in at line 1 column 1 of json data... I wrote All same code like you.. But error come How to fix it? Please reply me
User.objects.filter(username=username).exist() help me to check if the package and parcel tracking keys exist while scanning a barcode thank you so much sir
i think this will be good instead of doing it above if(data.username_error){ usernameField.classList.add("is-invalid"); feedBackArea.style.display = "block"; feedBackArea.innerHTML = `${data.username_error}` } if(data.username_valid){ usernameField.classList.remove("is-invalid"); feedBackArea.style.display = "none"; }
the video has been simple, clear and on-point with concept delivery. Great work Cryce..keep it up!!
It's been now few days since i've started to follow your tutorials because i'm beginning django for a project and i can only say a big thanks you because it really help me to understand the framework a bit better, I have a basic developement level but i'm more into network and cybersecurity stuff so it's always good to have videos like this to help building website fast and clean :)
Glad I could help!
These highly educative videos only have 1K views. How, you bring so much value!!
Your contents are always amazing. Thanks for the good work
This is really an informative video. it shows the presenter is quite knowledgeable. thanks for all help.
You're very welcome!
Great series. I am learning a lot! Thank you!!!
VM360:2 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 1
how to solve it
so goooood
You are a great Teacher Cryce!!! Super helpful your course. I am stuck at this development phase, but I don't understand what's wrong. Any chance to reach out? or someone in your community can help me?
What's the program you're using that autoformats your code when you save it in Javascript?
woow great tutorial thanks a lot.
Sir, when I type wronge user name it does not show the errors on both console and login page?
What shoul I do?
Wooooww awesome bro ,you are good teacher
A high grade tutorial you cant find a similar one on youtube..congrats, following Im becoming a better and better...
@Semy Colon after running the api passed but the styling is not showing .
same case here what might be the problem?
Hey, Great Video. Thanks for great content
However at 23:43 you created a div with class invalid-feedback and in the register.js file, you used invalid_feedback at 24:23?
Then, my usernameField.classList.add("is-invalid") is not working ie not setting it to red
Any way you can help me out.
Looking forward to your response.
Thanks for grooming the next generation of programmers
check if you use ` (backtick) instead of ' (quotes)
this is lovely, but mine is not showing red, its just showing checking
Also, for the feedBackArea.innerHTML = `${data.username_error}`; section, it may be helpful to include a notation to the other viewers that those quotes surrounding the paragraph tags are backticks, not single quotes. Great video nevertheless.
Great video! Thank you. Can you make a video in which you can check the strength of the password when it's being typed?
Awesome 👍...but don't you think if we are using csrf_exempt decorator, we are compromising on the security that django already provides by using csrf token? I am sure fetch api should be able to send csrf token too to the django backend...and if that is the case then we need not use csrf exempt decorator...Is that possible? Please advise
Yeah it's very much possible. Ill cover that concept in the Ajax search video. Coming up.
@@crycetruly Thank you for all your efforts for making the series. Much appreciated :)
Welcome
I think if you replace with this "register.js" (as above), the csrf_token exempt decorator would not be required....of course your "usernameField" will differ because you choose different id on the html form. But I tried this with above code and it worked. Thank you for this excellent series :)
Its for learning /testing purposes real world app you cant use csrf_exempt decorator
Please is it that you won't convert it to rest api before its stars posting cis am stuck with the postman
Sir I need your help please
@@ikechukwuezechimere hey, could you describe your problem, more
Error comes, Uncaught (in promise) syntexerror :Json.parse : unexpected character in at line 1 column 1 of json data...
I wrote All same code like you.. But error come
How to fix it? Please reply me
@yash adesara hey, I came across the same error. Could you elaborate more on this?
@@abheysharma did you find the solution
User.objects.filter(username=username).exist()
help me to check if the package and parcel tracking keys exist while scanning a barcode
thank you so much sir
Postman error program error
i think this will be good instead of doing it above
if(data.username_error){
usernameField.classList.add("is-invalid");
feedBackArea.style.display = "block";
feedBackArea.innerHTML = `${data.username_error}`
}
if(data.username_valid){
usernameField.classList.remove("is-invalid");
feedBackArea.style.display = "none";
}
thank you cryce