#17 Django tutorials | Models and Migrations

preview_player
Показать описание


Django is a high-level Python-based free and open-source web framework, which follows the model-view-template (MVT) architectural pattern.
It is maintained by the Django Software Foundation (DSF).
Django's primary goal is to ease the creation of complex, database-driven websites.
Some well-known sites that use Django include the Public Broadcasting Service, Instagram, Mozilla, The Washington Times, Disqus, Bitbucket, and Nextdoor.

Editing Machines & Monitors :

Facebook:

Subscribe to our other channel:

Donation & Support:
PayPal Id : navinreddy20
Patreon : navinreddy20
Рекомендации по теме
Комментарии
Автор

Love u bro
Your voice makes energy for me
I waste my 2 hours to finding problem solution but after listening your voice my mind clicked randomly and I got solution ..

Thank you buddy

binodtharu
Автор

Three years went by and I still come back to your tutorial.

libinscuk
Автор

Hi Navin, You're doing a wonderful job.

raajeshmoorthy
Автор

Hi, can you please explain a bit about that part? Where did you get that from?

thanatos
Автор

if you are not able to install psycopg2 command and get error :-

uninstall your current python and install python 3.7.4
because in newer python there are bugs
try it and comment here

vijaychoudhary
Автор

conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
FATAL: password authentication failed for user "postgre"

sandeepkumar
Автор

hello sir i am following your both python and django tutorial both.u explain both the concept very well .thank you .i was getting error while doing migration .after migration my 00001 initial file not getting crated.plz help me out to resolve this issue.

namratadafedar
Автор

In 6:32, you missed a parentheses for price tag. So it never gets added to the DB. Nevertheless awesome tutorial.
Edit: You resolved that in next video :P my bad..

avert_
Автор

****SOLUTION***
If anyone is facing this issue "ModuleNotFoundError: No module named"
or
"No changes detected"

Go 'models.py' and
add 'class Destination(models.Model):' #add (model.Model)
save it and run the command 'python manage.py makemigrations <app.name>

hope it works

ishwarchoudhari
Автор

sir could you kindly make a video to integrate the Django with Machine Learning models

aimanjavid
Автор

11:12 no errors! that's something amazing! YAY!

erdoganborklu
Автор

Awesome sir, I really love this series 😍

hafeezpp
Автор

hlo telusko sir plz help i'm getting error in migrating the models in django
there's a error for app name

techybro
Автор

During setup i have changed the port no to 6000 & now during migration it shows " Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?
Could not connect to server: connection refused (0x0000274D/10061)"

So what should i do then ?

anshulnagar
Автор

When i run py manage.py makemigrations nothing happens
My cmd do nothing no error no warning nothing shows me
Please help me

rajuchavda
Автор

I am building a Django based application, and this is helping me out! Thank you!!

sundarb
Автор

those whoo are getting error in migration part then use only 'travello' in INSTALLED APP

ryuksg
Автор

I have a small doubt,
U installed 'psycopg2' library which is a connector/adaptor, but then didn't imported that library anywhere, then what is the use of installing it??
Orr are the migrate commands (makemigrations, , sqlmigrate) using the library internally

dineshbh
Автор

Sir I'm migrating the files without no error but not getting destination tabels in data base

-chowdary
Автор

ModuleNotFoundError: No module named 'practiceapp.apps' is not a package

techybro