Django and python should sponsored you for your work, there is no better teacher on the internet and no greater influence for them. Thanks a lot for your free work.
@hardlight87435 жыл бұрын
Agree they should sponsore his work
@shivamkumraa5 жыл бұрын
well said!
@EuroPerRad5 жыл бұрын
Agreed!
@MartinEden-ps6ld2 жыл бұрын
да с хуев, джанго и питон это опенсорс, они сами по энтузиазму пишут. А чел на рекламе явно зарабатывает
@HosseinOutward2 жыл бұрын
hagh
@gazm2k54 жыл бұрын
I know like every one of these comments is praising how helpful you've been, but it still can't be said enough. I've been learning various programming languages, machine learning and more over the past 1.5 years. I've done courses from Harvard, MIT, Stanford, Microsoft, IBM, the list goes on. You are by far the best and most helpful teacher. You have a great blend of teaching us how to understand what we're doing, and telling us useful stuff to get things like a django server working in production. Harvard did a really great Django course, but they told me nothing of how to turn that development server into a useful production server live on the web. This series has been so valuable. Thank you!
@engageintellect Жыл бұрын
So, I recently decided to step out of my react, nextjs, and sveltekit box to try and deploy my companies web store using django, htmx, and tailwind. I was nervous while developing it, knowing that deployment wasn't going to be as easy as easy as something like vercel.... So glad I stumbled across this series. I am up and running on a $5 linode, registered domain, ssl, and even a usable little CI/CD pipeline, and it all just worked first attempt, which we all know never happens. Thank you for this content. 🙏
@tebbythomas18095 жыл бұрын
See things like adding the cron command make your videos better than most. Useful, practical advice. Thanks!
@tau-bar4 жыл бұрын
Thanks for the entire series Corey. This is hands down the best Django Tutorial ANYWHERE.
@leonvanzyl3 жыл бұрын
I ran into the duplicates issue with the config files before coming across your video. I was able to solve the issue myself, but your video gave me the reassurance that I did the right thing. Just subscribed to your channel. Keep up the good work!
@mikewang91145 жыл бұрын
Hands down best Django tutorial series ever! Thank you Corey! Followed along, everything's running.
@ff4937 Жыл бұрын
So much I hope he does an overview of Django 4.2 and Bootstrap 5.1. Hint, Hint!
@vkakouras1002 жыл бұрын
Great Tutorial. Thank you Corey. In my case with Ubuntu 20.04 Apache server - I just installed certbot app plus the apache plugin with the command : sudo apt-get install certbot python-certbot-apache and all rest following precisely your guides. THANK YOU so much!
@zahash10455 жыл бұрын
Dude, I don't know if you already know this but you are a Python Legend!!
@hardeepchhabra4504 жыл бұрын
YOU ARE THE BEST, COREY. LITERALLY, YOU'VE BEEN SENT BY GOD TO HELP DEVELOPERS LIKE US
@eeshsingh33366 жыл бұрын
Just when i was about to sleep! I have a reason to stay awake. :) Thanks man, as always! Best videos for learning.
@lionFodder876 жыл бұрын
I was just struggling with this! Thank you, man.. I love your videos - always thorough, clear, and useful.
@alexgilsoncampillo5 жыл бұрын
Thank you so much! I tried several times but only following your steps it actually worked!
@butters321974 жыл бұрын
time and time again I come back to these videos because they are soooo helpful. Thank you Corey!
@koops-013 жыл бұрын
Thanks for the entire series Corey. This is hands down the best Django Tutorial ANYWHERE. ~ for real
@mouaadelhamame87414 жыл бұрын
Thank you Corey this is by far the best django series I have ever seen.. you're a great teacher!
@현성이-o9c4 жыл бұрын
Amazing! Wonderful! Beautiful! I have never seen these kind of Web application Development Tutorial in my Life. Thank you~ so~~~~~~~~~~~~~much
@knowellpagayonan81394 жыл бұрын
Thank you very much for the tutorials. Your video answered most of my questions if not all, better than the Django documentation itself. Or maybe my reading comprehension is a bit lacking. Anyway, you gave me a strong push to go on ahead by myself on Django web development.
@dariogambi5 жыл бұрын
after this tutorial I had to solve a problem with my django application. that took a lot of time !! Thx god I found on internet the solution. I had an 500 error by apache regarding "Truncated or oversized response headers received from daemon". For those who had it you have to uninstall psycopg2-binary and install psycopg2 !
@humanOSx6 жыл бұрын
Thanks for the Django series Corey, It es very helpful.
@arielanasco1724 жыл бұрын
I salute your patience on your tutorial. You are so humble and you always make sure that everything is covered :) Ill rate you ✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰✰ Dbest! Django Foundation should sponsor you for this awesome tutrorials
@bmariano-me3 жыл бұрын
Corey man, thanks a lot for all your courses
@segunshittu49256 жыл бұрын
Hello Corey, I don't know how comfortable you are with async/wait and asyncio basics this topic is so confusing and difficult to understand can you please assist with some video's. You videos make reading the documentations easy to follow because I simple just run back to your videos basics after I get confused reading the documents then visualize and get back again reading. Money can't repay you for what you give for free only God can repay your efforts you are simply the best that there is on the internet at the moment keep up the good work.
@kamal-ahmed6 жыл бұрын
Amazing and very useful video. I learned a lot. 🌹 Thank you very much for your great work.
@rohithazare67553 жыл бұрын
This is really amazing work!! Love your tutorials
@sashikanthpeddinti43955 жыл бұрын
Hey Corey! I would like to know which videos I have to watch to understand this. And as always big fan of your tutorials and you are the person come to my mind when someone ask for a python tutorial. Thanks Corey you are a great teacher!
@coreyms5 жыл бұрын
I learn from multiple sources. The official documentation, blogs, conference talks, other KZbin videos, etc.
@vishavjeetsingh81654 жыл бұрын
Good job, useful video for every developer.
@Asrafulislam-dx5pf6 жыл бұрын
Awesome Tutorial. Thank You, Brother.
@mohamedlahmar8104 жыл бұрын
if your example.com is redirecting you to the apache2 ubuntu default page, while your www.example.com is redirecting to https correctly, consider adding the following RewriteCond to your django_project.conf file, right underneath the rewrite rule provided in this tuto. RewriteCond %{SERVER_NAME} =example.com RewriteRule ^ www.%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
@giustivibe4 жыл бұрын
Thanks a lot! This helped me solve this issue
@giustivibe4 жыл бұрын
@@PlusTres Did you restart apache?
@saukhinsarkar29203 жыл бұрын
Many Thanks Corey. Concise and Precise
@jerry56464 жыл бұрын
Corey the python GOAT
@damodarabethamcherla1843 жыл бұрын
You are just awesome! A great lecturer, helper. Thanks a lot.
@simsnrigs11944 жыл бұрын
You are an absolute LEGEND!!!
@Ghoomte_Jaa6 жыл бұрын
Plz do a video on django e-commerce....thanku in advance..... Got to learn a lot
@matih12346 жыл бұрын
hey there, how is it going everybody? btw thanks for all ur work :)
@maciejmyslinski78205 жыл бұрын
Thanks a lot for this great series! I really enjoy it! Maybe you could also prepare for us how to make e-commerce website with django? :)
@vladusa2 жыл бұрын
Just connect a Stripe payment API to your django app. its not rocket science
@thanoscar78224 жыл бұрын
Thank you so much Corey you are literally the best man !!!
@EuroPerRad5 жыл бұрын
Thanks Corey! Your tutorials are the best!
@ansarishazan47625 жыл бұрын
at video time 5:15 , sir you are using "sudo nano /etc/Apache2/sites-available/django_project.conf" , this django_project.cofnf file is in your local machine? Please anybody elaborate if i am using public ip instead of domain name
@NphiniT3 жыл бұрын
Hello Mr. Shafer. Parts of the procedure you used to install the SSL is now deprecated. certbot now requires snap to be installed which is then use to install certbot. the ppa repo is deprecated and python3-certbot-apache can no longer be installed from there. Could you please make an updated video. I ran into some issues doing it the new way. The SSL didn't work for the domain name without 'www', among other issues. Thank you again for your efforts
@prateekbaheti82363 жыл бұрын
Can you tell how did you resolve the issue with SSL not redirecting "www"?
@NphiniT3 жыл бұрын
@@prateekbaheti8236 Did u include the 'www' url in the settings HOSTS list?
@prateekbaheti82363 жыл бұрын
@@NphiniT yes. I added "www" In allowed hosts. But it still opens default page of apache webserver when I try to open the site without "www". With it, apache loads the site properly
@NphiniT3 жыл бұрын
@@prateekbaheti8236 So what I did was that I rewrote the redirect rule in apache. It feels like a hack. If you wanna see it, reply with ur email and I'll send to u
@prateekbaheti82362 жыл бұрын
@@NphiniT I tried mentioning my mail here but it seems that KZbin is automatically removing it from the replies.. Please share it here if possible
@keshavchauhan93896 жыл бұрын
Hey Corey, Please make tutorial on scrapy. And as usual, your videos are always awesome. Love from India !
@learneverything33836 жыл бұрын
As usual awesome.....Corey pls make a video on two step verification on sign up using this project...I tried to generate hash but it is not matching..pls make a video on that
@BGivo5 жыл бұрын
Wouldn't this now be broken for the non-www domain or did I miss a step? Also, how could someone have known to comment out the WSGI code first?
@vino-ef5om4 жыл бұрын
This solved it for me. serverfault.com/questions/294423/multiple-servername-per-vhost
@QwertyUiop-mn4nt5 жыл бұрын
Hey Corey you have great python video tutorials ... one of the best on youtube, can you please look into making a tutorial for webscraping using scrapy!! Thanks in advance
@kolawoleajalams8 ай бұрын
Thank you sooooo much. You're the master. God bless you real good.
@arunima29166 жыл бұрын
Great Tutorial, Thank you so much!!!
@LukeDupin4 жыл бұрын
Good video, but in 2020, don't use cron, use systemd. Also snaps are the preferred way to get certbot.
@doniamezghani63032 жыл бұрын
Thank you so much very helpful video💗💗💗💗
@charlieschiaffino46104 жыл бұрын
Damn a year and a half since this video and it was seriously helpfull, thanks! =D
@abo-khaled1440 Жыл бұрын
Thank you so much, your tutorial is great. I want only to do certificate for client so any one call my django web service must have certificate. thank you again.
@geumgyuljuseyo3 жыл бұрын
thanks a lot for the detailed instruction!
@masharialahmary78695 жыл бұрын
first : thank you for your awesome video 😊 second : from where did you got nano contact ?
@shashanksharmadon42954 жыл бұрын
Awesome bro thanks best video ever.....
@pladselsker8340 Жыл бұрын
Thanks for the help!
@icegreenedits45535 жыл бұрын
How do I upload updates to my site? I want to keep making it further and dont want to develop it in the nano so how will I update the files with some more html or css? without touching to the database ofcourse?
@riyazuddinsh5 жыл бұрын
Really you are a great tutor. Your work is very appreciative. I have a working site but having an issue that I have 100-200 user online at a time and accessing my server and I am getting a server hangup error. In the future, it is been expected to have 1000-5000 users accessing the server site per second. Please help me to handle the traffic.
@catonalake5 жыл бұрын
Corey thank you so much!!
@shiyan99s3 жыл бұрын
Hey Corey! I am curious if it is possible to get SSL Certificates without having a domain name and just the vps's ipv4.
@marquezdrums5 жыл бұрын
Can anyone point me to a simple example of how to get ssl working with nginx in a docker container serving a flask app? All of the resources I've found so far are pretty confusing.
@vardadio5 жыл бұрын
Omg...i followed all the tutorial and It Is Just Amazing...what a great work...i have a question for you...do you know if there Is an integrated class/module that can handle the verification of the mail in the registration process? Nowaday all the website has It and i was wondering if Django gives a way to do it
@akshitgoel21305 жыл бұрын
sir after following you, I have received "Apache2 Ubuntu Default Page" and an address to this index.html, I am confused and want your help to get out of this problem. what I need to de to make apache point towards my homepage.html sir, I recently saw this that when I am typing www.mydomain.com then it is redirecting to https but when I am typing only mydomain.com then it is showing me "apache default page for ubuntu" . can there be anyway with which www and with www also this works.
@jasminskamo36814 жыл бұрын
In your .conf file that you created before certbot, comment the RewriteCond and change the RewriteRule to be RewriteRule ^ www.mydomain.com That should do the trick!
@Nricaldi3804 жыл бұрын
@@jasminskamo3681 Thank you so much it fixed the issue!
@fnasr4 жыл бұрын
Hello Corey, Thanks a bunch for this series. Extremely valuable information. One question I had was what's the difference between using Let's Encrypt versus a paid service, such as rapidssl or GoDaddy, other than the latter two being paid services?
@ildar_eto_ya2 жыл бұрын
It's awesome! Thanks a lot to you! I have an issue with non-unique email's for users. It's allowed to any user to register with same email. Or i missed something? If i did, tell me, please, how did you solve it. Thank you in advance!
@appykr5 жыл бұрын
Hello Sir Thanks for making these videos it helps me alot. I have a request can u make videos on Django sessions , sockets and middleware. Thank You
@utkarsh18743 жыл бұрын
Thank you so much for this much love
@prateekgupta46364 жыл бұрын
Thank You sir ,
@helmholtzwatson88844 жыл бұрын
I've never used cron as root but my understanding is that when you call cron using sudo: 'sudo crontab -e', whatever command you add is executed as root. That would mean that using sudo in the the command: 'sudo certbot renew --quiet' is redundant although I don't think it would do any harm. If you actually needed sudo, you would also need to manually enter your sudo password. Am I wrong about this?
@sithuhtun36093 жыл бұрын
Corey, How to add favicon icon to this website? Somebody Help Me Please!
@prajwalgautam31584 жыл бұрын
So uploading our project to linode and make it run using apache server, how shall we edit out blog? I mean would you recommend to edit live server?
@david0411 Жыл бұрын
When I enter the name domain everything works fine but when I enter the ip address I get the apache default page instead, any fix?
@ConsuelaPlaysRS4 жыл бұрын
Why do you have %{SERVER_NAME} = www.myawesomeapp.com ? Doing this, when I access myawesomeapp.com (without the www), I got the Ubuntu default page. Changing it to %{SERVER_NAME} = myawesomeapp.com, it works both ways.
@andersonl.s5 жыл бұрын
And what about if I want to load more than one domain at the same server? Is there a simple way to achieve this? (Like in a shared environment but no need for encapsulation)
@rololop343 жыл бұрын
thank you for this tutorial
@lloydgarcia22013 жыл бұрын
Hello Mr. Corey Schafer , I encounter an error after I apply SSL/TLS on the website. when I remove www on my DNS it's not redirecting to https with www can you help me to solve this problem? Thank you for your videos I've learned a lot.
@subhashxd98956 жыл бұрын
Thank you man
@akashsaha39215 жыл бұрын
i am using windows so can i keep up with your course?i can see the syntax for some commands are different than windows.
@gurbanoglu51432 жыл бұрын
After I run the following command: sudo certbot --apache I am seeing the following message: Please enter the domain name(s) you would like on your certificate (comma and/or space separated) (Enter 'c' to cancel): The problem is that I did not create a custom domain name that Corey did in the previous video. This being the case, what do I enter for the domain name?
@yehonatan3000 Жыл бұрын
I think you can't. I did just the same and when I entered the IP address instead of the domain name I got an error of: The Let's Encrypt certificate authority will not issue certificates for a bare IP address. This is because IP addresses can be dynamically assigned, so your IP won't necessarily be your web application IP address forever.
@csbnikhil5 жыл бұрын
Will you make a video on sockets for Python 3.x? There's a lack of good documentation.
@asjadahmedkhan96614 жыл бұрын
Hello Corey! Thank you for making these awesome videos.I need your help.Can you please tell me how to add link in our blog posts that can direct you to a particular website. Looking forward for your help in this . Thank you.
@fawazsalah59855 жыл бұрын
Thanks Corey for this tutorial! One issue I faced twiced is getting 500 Internal Server Error when I check my site, even after reinstalling apache and reinstalling OS. Have you, or others, faced this issue?
@sedtec76474 жыл бұрын
Instructions for getting https certificate # Install Certbot sudo apt-get update sudo apt-get install software-properties-common sudo add-apt-repository universe sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache # prepare apache conf file for HTTPS certificate ## Open django_project.conf sudo nano /etc/apache2/sites-available/django_project.conf ## Set server name to ## Comment out WSGI in django_project.conf ## Save the file Ctrl - x - y - Enter # Get SSL certificate with certbot sudo certbot --apache ## Enter Email Address ## Type A ## Enter N to avoid spam emails ## Select using numbers your domain name ## click Enter ## Enter 2 to redirect HTTP traffic to HTTPS # Configure the HTTP and HTTPS conf files sudo nano /etc/apache2/sites-available/django_project.conf ## Remove Alias and WSGI in django_project.conf ## Uncomment out WSGI in django_project-le-ssl.conf sudo nano /etc/apache2/sites-available/django_project-le-ssl.conf # Allow HTTPS traffic through yout firewall sudo ufw allow https # Restart Apache server sudo service apache2 restart # Auto renew certificate with cron job sudo crontab -e ## Enter 1 ## Set time for job to occur 30 4 1 * * sudo certbot renew --quiet
@russellclark74315 жыл бұрын
Excellent series. Implemented SSL but Postgres now fails to connect. Followed help on the web but still broken. Can you point me to some help?
@shaikveller17445 жыл бұрын
Russell Clark - where you able to fix it? Stuck with same issue
@russellclark9665 жыл бұрын
@@shaikveller1744 My problems MAY have been related to the fact that I (unintentionally) was working with Ubuntu 19. However I bought a new Ubuntu 16.04 VPS from Contabo, installed SQL Server NOT Postgres, transferred all my Django apps to SQL Server, installed SSL & it all works just fine. Sorry if this does not help you but I do not like PostGresql - I work mainly with SQL Server
@RahulKumarr4 жыл бұрын
thank you very much for this tutorial. It helped me a lot as i am not able to find a proper tutorial for this. Can you please please also upload how to create sitemap.xml and robots.txt in this django project
@mkanalysis5 жыл бұрын
thanks for your videos cory, my website stopped working after I created the certificate, I have postgres as my database. do you know why this might be?
@shaikveller17445 жыл бұрын
@mostafa8998 did you figure it out? Stuck with same issue...
@et4493 Жыл бұрын
Absolute champ
@JHL0L Жыл бұрын
If you have problem with the Apache2 Ubuntu Default Page loading instead of your website or if you get "Connection not secure" at the https site, first try to clear the cache of your web browser. I just spent hours tinkering with settings and wondering why it doesn't work, and the only issue was that Chrome was loading an old cached site :))
@TheUnderMasked5 жыл бұрын
When are you going to make comparison video for Django and Flask?
@nys82604 жыл бұрын
Thank you
@Rayan-qo1vp3 жыл бұрын
THANK YOU! :)
@MrA86S6 жыл бұрын
Hey @Corey MS thanks for this wonderful series, Any plan for making video over "Implementing Multiple User Types" in django
@coreyms6 жыл бұрын
Not in the immediate future, but perhaps at a later time. I am currently working on a Heroku deployment video and then I am going to take a break from the Django/Flask series' to work on some Data Science videos.
@pushkargarg71405 жыл бұрын
Just one doubt. Do I need to restart my nginx server after the automatic renewal of the certificates using crontab?
@cloudkamp26943 жыл бұрын
I would like to see how to redirect traffic from a www version to a non www or vice versa please reconsider this
@SeaTaj3 жыл бұрын
Can you do a video on Django Rest Framework?
@ahlalfiqh6 жыл бұрын
Thank you dear ;)
@minsik96145 жыл бұрын
if I change domain name, should I do this whole process again? or only some part?
@sameergaikwad2224 жыл бұрын
Hi can you make video for Manual Certificate Installation without using certbot.
@marcocacone5 жыл бұрын
TI AMO ♥
@amaarquadri4 жыл бұрын
For anyone else who (like me) has an issue where you can't connect to your website because it is "Taking too long to respond", make sure you enable port forwarding for port 80 and 443! Took me way to long to figure that out :(
@rameshgundluru75795 жыл бұрын
sir when running sudo certbot --apache , iam getting error like Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA. my certbot version is 0.17 only but it requires greater than 0.26 i installed certbot-auto but when running sudo ~/certbot-auto --apache Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80. can you please help me to update certbot in ubuntu 17.10