Django Models - Many-To-One Relationships - Music Database

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

Please visit the web site to access free supporting materials, as well as interactive exercises.
Рекомендации по теме
Комментарии
Автор

You can practice on the User database from the previous lesson. If you cannot find the trackmodel/models db

m.m
Автор

(in my case) manage.py does not exist in the folder tracks. so i have done the install -r requirements, and migrate commands in the dj4e-samples folder
there are some changes in the DB. Just try to do following (after you have done the migrate):
cd dj4e-samples
sqlite3 db.sqlite3
.schema tracks_track ### tracks_track is the same as 'tracksmodel_track' which used in the video

m.m
Автор

I think this video is not in the right place,
it should be after "Using the Django Shell to Explore One-to-Many Models" (Video 34)
by the way, thank you for your great course sir. I have learnt a lot from you.

pouriapmd
Автор

"one to many models" while the name indicated many to one ?

jawadahmadkhan
Автор

I think this lesson is outdated, reference link to lecture doesn't exist anymore. Still good practice...

JanHolzhauer
Автор

where the fuck did I create tracksmodel before? I cant find that anywhere in the course.
Did they make an update or somethign?

ivarsvanberg
Автор

Sir how do I get dj4e on python anywhere

labeebottakath