Easiest Way To Connect Django To A Postgres Database

preview_player
Показать описание
Ridiculously fast deployment and connection to a Postgres database using @railwayapp.

Follow me on twitter:

Timestamps:

00:00 - Introduction
1:30 - Setup Django app
3:10 - Modify DATABASES connection
3:35 - Create Postgres DB on Railway
6:35 - Create django super user
Рекомендации по теме
Комментарии
Автор

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. 👍🏽

ericcartman
Автор

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

JVPDesign
Автор

Please create a tutorial on Django channels and websockets

facttrendz
Автор

Wow, thank you so much for this video. Railway is much more faster to setup than AWS. Thanks again Dennis. 💙

CodeWithClinton
Автор

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✨

arsham
Автор

1 year later steel the best method TNX man <3

mgdzh
Автор

Wow, so clean and fast. Please make a video on how to host a DRF project

osinaikegbemileke
Автор

short and concise. Love it, straight to the objective.

lejiendtech
Автор

watching this on the same day u made this....july 19...cheers

nayeemsyed
Автор

Thanks Dennis for this video...really helpful

JayShreeRamJayMaaBhavani
Автор

Damn, this was quick. Bookmarking this video for future needs.

Johan
Автор

tip for mac: I had trouble pip installing psycog2, so I did pip install postgres and it worked

meowmeow
Автор

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 !

anubhavgupta
Автор

Very helpfull thanks
Make another video for this concept like payment part

abdifatahwebdeveloper
Автор

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.

gufran-ansari
Автор

hey Dennis what about if you want to schedule a command

realdevdiv
Автор

It love the rail way, It really works

divinendubuisi
Автор

Hey Mr. Dennis does Railway host Static Files??

desphixs
Автор

Really you are super !, I solved my problem with your method, Big thanks !

variousvideos
Автор

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

pgtechmedia