Thanks for the video, really appreciate it. I already bought your course. Will you be making more in the future? Relational database CRUDS would be awesome. Can't wait to purchase more courses from you. Cheers.
Quick tip: Windows users, you dont have to type full word "python" in terminal, "py" or "py3" / "py2" (if you have multiple versions installed) is enough. A bit shorter, than before, still faster than full word 😅. P. S. Great tutorials Dennis, always appreciate it. 👍🏽
For how great things like FastAPI, Flask, ExpressJS, etc are, I keep coming back to Django because of just how easy it is to get things up and running so quickly
Probably the best way for connecting Django to a DB is using Docker (both in production and development level) but this is also such a nice way👌🏾🔥 Thanks Dennis✨
@@MartinoxxHD i live in iran, so i can’t use AWS😁 i use Docker in VPS servers and it’s great but i heard that AWS is a great way to use and deploy Django Apps👌🏾
Hey Dennis, Im already using django+postgres for a while, and now Im struggling to handle timezones. Basically I always send to postgres, via django ORM, a timestamp with timezone awareness (-03:00), but postgres automatically saves it with timezone (+00:00), which leads my code to incorrectly calculate usage time for my users. Im "solving" it by adding again the timezone awareness when requesting this info, but it seems not right. Do you happen to face this issue too? How is the best way to handle this problem?
Hey Dennis, Can you create a video on how to host your django aap on railway from start to end with everything we need just like you did on django 3.0 crash course with heroku? I'm bit confuse if we need AWS with railway. I already watched your video about moving app from heroku to railway. But I request you to create one with everything (Railway, postgres and etc). Please. THank you.
When deploying on any platform, let's say Heroku, we get a connection limit with Postgres, about 20 for free plan and upto 120 for paid. So how do we deal with this connection limit on a real project because upto 120 connection is way too less if you have high traffic. A tutorial/explanation will be highly appreciated on it, as to how to scale Django+Postgres app !
my django project which was hosted on heroku and AWS S3 wont work anymore when moved to Railway as the DATABASE_URL is still linked via Heroku which has been disabled. How do I link the database URL to railway, I have tried everything!
Bro you are literally posting the exact stuff that I need. Lol I used postgres in the past for Ruby on Rails and I was wondering if I could do it for Django cuz it's really similar.
Great tutorial. I am using Postgres, what is the upside of this, because as of now, I run my django app in a linux virtual machine using nginx, and installed postgres there. Will I be better of using another host for my postgres? Thanks and you really helped a lot!
What do when in production like hosting on some other websites like Vercel, Netlify etc.? What to do when the password is available in the source code.
Hey, I tried to deploy my web app to vercel but I'm getting this error: Error: pg_config executable not found. It then directed me to install the package psycopg2-binary, which I did but I'm still getting the same error.
Could someone help me clarify a question? I've successfully deployed my Django App on Railway using SQLite. Now, let's say a user makes a post request that updates the database. Will these changes be reflected in my GitHub repository? In other words, if I make a new push to my GitHub repo and Railway re-deploys, will it recognize that the existing database file is already up to date and avoid replacing it with the outdated one from GitHub?
Changes to the database will only be reflected temporarily but will not remain, meaning, you may see changes in your database but it will not update your files in github. You will want to use a production level database like postgres
You need to have a LAMP stack or XAMMP (for Windows PC) then make your server IP static and then configure your router to direct all port 80 or 8000 request to the machine :)
please make a video about django signals oversimplified class based view, generic drf signals channels for new comers these are most confusing part of django, I think
Don't forget to check out my Complete Django course: dub.sh/JNH6EeA
Thanks for the video, really appreciate it. I already bought your course. Will you be making more in the future? Relational database CRUDS would be awesome. Can't wait to purchase more courses from you. Cheers.
Please create a tutorial on Django channels and websockets
Yesss. Everyone needs to thumbs up this request.
He has already does.
Agree.
Денис, пожалуйста 🙏🏻
Quick tip: Windows users, you dont have to type full word "python" in terminal, "py" or "py3" / "py2" (if you have multiple versions installed) is enough. A bit shorter, than before, still faster than full word 😅.
P. S. Great tutorials Dennis, always appreciate it. 👍🏽
For how great things like FastAPI, Flask, ExpressJS, etc are, I keep coming back to Django because of just how easy it is to get things up and running so quickly
Wow, thank you so much for this video. Railway is much more faster to setup than AWS. Thanks again Dennis. 💙
1 year later steel the best method TNX man
Probably the best way for connecting Django to a DB is using Docker (both in production and development level) but this is also such a nice way👌🏾🔥
Thanks Dennis✨
what about an RDS instance in AWS?
@@MartinoxxHD i live in iran, so i can’t use AWS😁
i use Docker in VPS servers and it’s great
but i heard that AWS is a great way to use and deploy Django Apps👌🏾
Wow, so clean and fast. Please make a video on how to host a DRF project
short and concise. Love it, straight to the objective.
Thanks Dennis for this video...really helpful
Damn, this was quick. Bookmarking this video for future needs.
watching this on the same day u made this....july 19...cheers
Really you are super ! ,I solved my problem with your method ,Big thanks !
This has been helpful, thank you.
It love the rail way, It really works
Wow that is awesooooome! Thank you!
A very easy to follow tut! Thank you, Dennis
👍 awesome
Hey Dennis, Im already using django+postgres for a while, and now Im struggling to handle timezones. Basically I always send to postgres, via django ORM, a timestamp with timezone awareness (-03:00), but postgres automatically saves it with timezone (+00:00), which leads my code to incorrectly calculate usage time for my users. Im "solving" it by adding again the timezone awareness when requesting this info, but it seems not right. Do you happen to face this issue too? How is the best way to handle this problem?
solution close your vs and open it again it will work
tip for mac: I had trouble pip installing psycog2, so I did pip install postgres and it worked
im getting the same error
Very helpfull thanks
Make another video for this concept like payment part
Awesome, it worked great. Thanks!
thanks bro, so so superfast
Hey Dennis,
Can you create a video on how to host your django aap on railway from start to end with everything we need just like you did on django 3.0 crash course with heroku? I'm bit confuse if we need AWS with railway. I already watched your video about moving app from heroku to railway. But I request you to create one with everything (Railway, postgres and etc). Please.
THank you.
saying Hi from Twitter
When deploying on any platform, let's say Heroku, we get a connection limit with Postgres, about 20 for free plan and upto 120 for paid.
So how do we deal with this connection limit on a real project because upto 120 connection is way too less if you have high traffic.
A tutorial/explanation will be highly appreciated on it, as to how to scale Django+Postgres app !
That was amazing tutorial.
Thnks bro you solved a big prob
hey Dennis what about if you want to schedule a command
Hey Mr. Dennis does Railway host Static Files??
Thanks for the plug 🔌
Dennis, Thanks for this video, really help.. Please, can you make a video on how to Dockerize a django project and why to do it.. Thanks
01:38 Install psycopg2
02:56 Settings | Change database name
Wow, that was amazing!
my django project which was hosted on heroku and AWS S3 wont work anymore when moved to Railway as the DATABASE_URL is still linked via Heroku which has been disabled. How do I link the database URL to railway, I have tried everything!
Thank you, a little tip- it's not going to connect if you don't have a venv..
Bro you are literally posting the exact stuff that I need. Lol I used postgres in the past for Ruby on Rails and I was wondering if I could do it for Django cuz it's really similar.
after migrating to postgress does it have old data that was stored in db.sqlite??
Hi dennis , can i use railway instead of aws s3 to show images and media file ?
Thanks Dennis
I would like if u can show us how to create django restframework/fastapi multi tenant app and react
Hi! Dennis, there are lots of people that see your videos from Latam, can you speak a little bit slowly? Thanks for your support
Hi Dennis, is there a reason you didn't use local Postgres?
Great tutorial. I am using Postgres, what is the upside of this, because as of now, I run my django app in a linux virtual machine using nginx, and installed postgres there. Will I be better of using another host for my postgres? Thanks and you really helped a lot!
What do when in production like hosting on some other websites like Vercel, Netlify etc.? What to do when the password is available in the source code.
Amazing! I did this but I can't seem to connect it to my heroku app even with the variables. Please help
Hey, I tried to deploy my web app to vercel but I'm getting this error: Error: pg_config executable not found. It then directed me to install the package psycopg2-binary, which I did but I'm still getting the same error.
Was the issue resolved?
Could someone help me clarify a question? I've successfully deployed my Django App on Railway using SQLite. Now, let's say a user makes a post request that updates the database. Will these changes be reflected in my GitHub repository? In other words, if I make a new push to my GitHub repo and Railway re-deploys, will it recognize that the existing database file is already up to date and avoid replacing it with the outdated one from GitHub?
Changes to the database will only be reflected temporarily but will not remain, meaning, you may see changes in your database but it will not update your files in github. You will want to use a production level database like postgres
If you use local installed postgres, FIRST create base in postgres, for example "my_db" and migrate command is passed!
Same process with local installed postgres?
Thanks but I tried setting up and configuring, and I get this error: could not translate host name
Thank you soo much
Can't find how to run python manage.py makemigrations on railway side. How do I?
why that extra comma though?
Can i link postgresql after worked on project
I need how to connect Django with HDFS, how can I do that ?
Thank you do much
Plzz Share.... market of Django...
Thanks!!
Awesome video how about to create one for connecting MySQL to a Django app
Hi bro, can you please do a project on real-time chat application using Django and Channels.
how to deploy my django project on localhost as company server ; can you help me
You need to have a LAMP stack or XAMMP (for Windows PC) then make your server IP static and then configure your router to direct all port 80 or 8000 request to the machine :)
thanks!
thank you
When I connect it showing unknown host
Sir can u explain django custom user model please 😔
there occurs an error with PGHOST values.
"Go ahead and go ahead and go ahead" come on.
I am having problems to connect my django app to my railway database, is there anyone who can help me with that?
me too, do you resolve it?
How to use existing database
in 3 minutes?
please make a video about django signals oversimplified
class based view, generic
drf
signals
channels
for new comers these are most confusing part of django, I think
Why do we use posygres database if we already have SQLite3 which is Django default
it’s called sqLITE for a reason
Getting this error when I set this up:
502 Bad Gateway
nginx/1.22.1
🤏
Thanks so much
thank you
Thank you