▶️ Watch Entire Money Making Playlist ✅ Subscribe To My UA-cam Channel: bit.ly/2tEBTzg bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com Take $30 off with coupon code: youtube1
Dear Sir, I'm looking for this entire project (with source code) on Dentist website. I can join and buy the course on Codemy if you are sharing the source code over Codemy. If that is the case please share the Codemy link for this project.
@@Codemycom Thanks a lot - Sir. I guess you are on Udemy as well. So, I'll soon join these courses and share your courses with others as well. All the best.
I'm learning to code in my freetime and decided to learn python and django as backend software..... so not planning to start a career, but i want to create websites and apps for tye company that i work at as a chemist.... therefore thank you for your tutorials!!!
Hi, your videos are very informative. I have a question. I have implemented a form to save student data, using the technique you used in this video. I want to update the student record. How can I pre populate the form fields? I don't want to use Model Forms. Please help me. Love from Pakistan:)
Hey there thank you so much for the video but i am getting some problem, whenever i click on contact us page it buffers continuously and doesn't loads the page...
hi , i have a problem with the form, when i submit i have this error "MultiValueDictKeyError / request.POST" name =request.post['name' ] doesn't work for me but request.post.get('name') work perfectly
hello sir i m getting error on editing our dentist section i am not able to change name on single dentist area under div tag i edited h5 and p tag but it shows previous result
i can't call variables last_name and first name when i run it and fill all the fields ; the page is reloaded and the last_name does not appear when i use {{ last_name}} CAN YOU HELP ME PLEASE
i am really sorry but I think i am missing a lot here. why did we need Python and Django here, why instead we didn't just modify the html files to make the site our own? can you please explain , couldn't you just modify the html and javascript on the already existing webpage , what is the advantage ?
What already existing webpage? You can use any of hundreds of web frameworks. Yes you can do plain html. If you don't need any database or user interaction that's fine. If you aren't interested in Python and Django, why are you watching this?
@@Codemycom no please don't get me wrong, I am learning Python and that is why I ended up watching this course, I wanted to know what is it that is a big advantage, so far I din't see any database manipulations or transformation of the existing javascript or ad-ons with Python/Django scripts for that purpose. Again with all my respect I just want to know what is it that is so outstanding that should let me want to program here with Python.
@@Redwane-Music This specific playlist doesn't deal with databases. That doesn't mean there are no databases with python and django. Python is incredibly powerful and allows you to do orders of magnitude more than a simple HTML site.
Dear Sir , thank you a lot. I got this error when I tried to enter my info in contact form MultiValueDictKeyError , I googled and used .get after each POST using paranthesis. It worked but now I can't get the name I enter next to "Get in touch " it just says ' None' . I tried to change 'message_name' to 'message-name' but it didn't work.
Great tutorial, thank you. I wondered - are there any security drawbacks of grabbing input fields data by 'request.POST' rather than 'cleaned_data'? I would prefer to use a ready, styled form in the html template, rather than defining a form in 'forms.py'. Is 'request.Post' secure enough just for an email, i.e. without saving input data in the database?
Awesome Really Appreciate your efforts! Also I got "GET directory/app/img.png" Error for all the pictures that i uploaded on template myself. I used collect static too but doesn't work i keep getting this.
Hello Sir, I am following this tutorial series with different Template and in that, contact section is available in index.html and it goes through contact.php file, so I want to know that how to make communication between php and Django. :)
Sir, So what changes I have to do to get contact section validation in same home.html page?, and also what to change in views.py and other files, please help me if you can. Because I am beginner and your way of teaching is really good than others and also easily understandable.
Hello John, thank you for the hard work, great courses! I have a question on, have you somewhere explained how this works when we have websites that work with sections and not templates? I have a website here and it only has sections in it, like contact section, home section etc...
Hello teacher,awesome video!!This helped me so much🤩but I have a problem with contact form.I have done it exactly like you more than 3 times😅and again the same error:unindent does not match any outer indentation level.How can I fix this please?
▶️ Watch Entire Money Making Playlist ✅ Subscribe To My UA-cam Channel:
bit.ly/2tEBTzg bit.ly/2IGzvOR
▶️ See More At: ✅ Join My Facebook Group:
Codemy.com bit.ly/2GFmOBz
▶️ Learn to Code at Codemy.com
Take $30 off with coupon code: youtube1
Dear Sir, I'm looking for this entire project (with source code) on Dentist website. I can join and buy the course on Codemy if you are sharing the source code over Codemy. If that is the case please share the Codemy link for this project.
@@sudiptabasu96 github.com/flatplanet/dentistDjango
@@Codemycom Thanks a lot - Sir. I guess you are on Udemy as well. So, I'll soon join these courses and share your courses with others as well. All the best.
@@sudiptabasu96 I'm on Udemy and Codemy.com (codemy is a better deal)
Hello, I am Azerbaijani. I'm watching your subtitled videos. I am learning a lot thanks to you, thank you very much :)
Glad to hear that!
Good luck!
I'm learning to code in my freetime and decided to learn python and django as backend software..... so not planning to start a career, but i want to create websites and apps for tye company that i work at as a chemist.... therefore thank you for your tutorials!!!
Very welcome!
Sir i have watched many videos related to django on youtube but your video playlist is best
So nice of you
Thanks Walter. I really appreciate what you are doing, love from Pakistan.
Glad you're enjoying them! Hello from Las Vegas!
@@Codemycom wow, lasvegas party all night😁
@@ai.201 Right?! How do I ever get any work done?! lol
Walter White? LMFAO, genius
I did the exact same thing but when I hit "submit" it says " CSRF verification failed: Request aborted ".
Why is that .. I added the csrf_token
Check your code for typos
What'd happend if I send an empty form? Would there be an error?
Try it and see :-p
Hi, your videos are very informative. I have a question. I have implemented a form to save student data, using the technique you used in this video. I want to update the student record. How can I pre populate the form fields? I don't want to use Model Forms. Please help me.
Love from Pakistan:)
Hey there thank you so much for the video but i am getting some problem, whenever i click on contact us page it buffers continuously and doesn't loads the page...
Go to your terminal and Ctrl+C to break out of the server. Is there an error message? It will tell you what to do.
In your js src add website/
Sir I just turned off my comp and my virtual enviroment in git bash is gone.With which command should I call it back?
The same commands as when we turned it on the first time.
hi , i have a problem with the form, when i submit i have this error "MultiValueDictKeyError / request.POST"
name =request.post['name' ] doesn't work for me but request.post.get('name') work perfectly
Yeah some people just have that problem...I don't know why
@@Codemycomcould you please give some info on how to fix that error?
Ok, i figured it out... for those who get this error you need to use 'request.POST.get(''whatever")'.
@@DanielUngureanu86 yup
Is there a video on how to build the 'about us' page using django and react?
No videos on react.
my contact page is in php form how to convert it into html form and perform the next steps
Throw it out and build it again with Django, in the normal Django manner. I have tons of courses teaching all things django at Codemy.com
I got a problem about the buttons for the home, pages, blog and the rest. every time I click a button it takes me to a 404 error, what should I do?
Check your code for errors vs the code in the videos
@@Codemycom Can you give me a specific place to compare because in all of the vids I have the same exact code
@@Ism-x8f No sorry. But it will be somewhere around the button code or form code etc
@@CodemycomWhat folder is the button code in?
@@Ism-x8f It's the html page in your templates directory
hello sir i m getting error on editing our dentist section
i am not able to change name on single dentist area under div tag
i edited h5 and p tag but it shows previous result
Did you save the file first? Try restarting the server, then your computer.
i can't call variables last_name and first name when i run it and fill all the fields ; the page is reloaded and the last_name does not appear when i use {{ last_name}}
CAN YOU HELP ME PLEASE
def contact(request):
if request.method == 'POST':
first_name = request.POST['fname']
last_name = request.POST['lname']
date = request.POST['date']
email = request.POST['email']
treatment = request.POST['treatment']
note = request.POST['note']
return render(request, 'contact.html', {'last_name': last_name})
else:
return render(request, 'contact.html', {})
and in the contact page :
hello - {{ last_name }}
PLEASE HELP
Rewatch the video and recheck your code for errors.
Email send successfully but from gmail id or gmail address not found.. Its redirect my gmail and when i check my gmail...
Hope this is a small problem will you fixed it...
i am really sorry but I think i am missing a lot here. why did we need Python and Django here, why instead we didn't just modify the html files to make the site our own? can you please explain , couldn't you just modify the html and javascript on the already existing webpage , what is the advantage ?
What already existing webpage? You can use any of hundreds of web frameworks. Yes you can do plain html. If you don't need any database or user interaction that's fine. If you aren't interested in Python and Django, why are you watching this?
@@Codemycom no please don't get me wrong, I am learning Python and that is why I ended up watching this course, I wanted to know what is it that is a big advantage, so far I din't see any database manipulations or transformation of the existing javascript or ad-ons with Python/Django scripts for that purpose. Again with all my respect I just want to know what is it that is so outstanding that should let me want to program here with Python.
@@Redwane-Music This specific playlist doesn't deal with databases. That doesn't mean there are no databases with python and django. Python is incredibly powerful and allows you to do orders of magnitude more than a simple HTML site.
Can a contact form be created on a single page website? As in, without creating a separate template for the contact form.
yes, you can, just make a section on the index.html page where you put your form.
Thanks I got it
Thanks for this wonderful video sir, really helpful
You're very welcome!
Thanks man. This video is very useful.
Glad you liked it!
the form doesn't work i try like you did but doesn't work what i should do?
Check your code for errors
Dear Sir , thank you a lot. I got this error when I tried to enter my info in contact form MultiValueDictKeyError , I googled and used .get after each POST using paranthesis. It worked but now I can't get the name I enter next to "Get in touch " it just says ' None' . I tried to change 'message_name' to 'message-name' but it didn't work.
Why change to message-name? What is the exact original error?
@@Codemycom There is no error , I just can't get message-name next to "Get in touch " text on the website
@@iflyenglish You said you got a MultiValueDictKeyError error.
Great tutorial, thank you. I wondered - are there any security drawbacks of grabbing input fields data by 'request.POST' rather than 'cleaned_data'? I would prefer to use a ready, styled form in the html template, rather than defining a form in 'forms.py'. Is 'request.Post' secure enough just for an email, i.e. without saving input data in the database?
Thank you for the video,
Do you have Django AJAX POST requests video?
nope
Do you have the code of the HTML on github for example ?
I'll push it there next Monday or Tuesday when I shoot a video on using Github for the Dental website...
@@Codemycom where is the link?
@@AdityaKumar-pp4xw github.com/flatplanet/dentistDjango
@@Codemycom Thanks for quick response!
Awesome Really Appreciate your efforts!
Also I got "GET directory/app/img.png" Error for all the pictures that i uploaded on template myself. I used collect static too but doesn't work i keep getting this.
Either an error with your static tags, or an error with your settings.py static_dirs code, or you saved your static directory in the wrong place.
love from India
Thanks!
Hello Sir, I am following this tutorial series with different Template and in that, contact section is available in index.html and it goes through contact.php file, so I want to know that how to make communication between php and Django. :)
You don't
@@Codemycom Ok
Sir, So what changes I have to do to get contact section validation in same home.html page?, and also what to change in views.py and other files, please help me if you can. Because I am beginner and your way of teaching is really good than others and also easily understandable.
Hello John, thank you for the hard work, great courses!
I have a question on, have you somewhere explained how this works when we have websites that work with sections and not templates? I have a website here and it only has sections in it, like contact section, home section etc...
Sorry, I don't know what you mean by sections. It's still HTML right? Are you talking about all one page? It's still just a matter of HTML...
Hello teacher,awesome video!!This helped me so much🤩but I have a problem with contact form.I have done it exactly like you more than 3 times😅and again the same error:unindent does not match any outer indentation level.How can I fix this please?
Thanks a lot
Glad you enjoyed it!
Thank u so much
You're very welcome!
Thanks :)
For sure :-)
it should be request.POST.get() instead of request.POST()
yes. your are right. request.POST[] through MutilValueKeyError
thnx bro
Welcome
@@Codemycom shukria sir g big fan of you
@@Codemycom shukria means thnx a lot in pakistani language
@@baibars3139 Thanks for watching!
@@Codemycom welcom sir