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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024

ความคิดเห็น • 12

  • @m.m9804
    @m.m9804 2 ปีที่แล้ว +1

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

    • @darrellrayford3817
      @darrellrayford3817 ปีที่แล้ว

      Thanks I dont have I and it's really throwing me off

  • @m.m9804
    @m.m9804 2 ปีที่แล้ว +1

    (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

  • @pouriapmd6077
    @pouriapmd6077 2 หลายเดือนก่อน

    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.

    • @DrChuckPlus
      @DrChuckPlus 2 หลายเดือนก่อน +1

      I agree - I changed things in the playlist

    • @pouriapmd6077
      @pouriapmd6077 2 หลายเดือนก่อน

      @@DrChuckPlus Thank you so much!

  • @jawadahmadkhan1076
    @jawadahmadkhan1076 4 ปีที่แล้ว

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

  • @JanHolzhauer
    @JanHolzhauer ปีที่แล้ว

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

    • @ChuckSeverance
      @ChuckSeverance  ปีที่แล้ว

      What broken link are you talking about?

    • @JanHolzhauer
      @JanHolzhauer ปีที่แล้ว

      (youtube keeps blocking my replies because of the url, let's hope this goes through...). I had difficulty finding the references (e.g .txt) for this lecture and the link you are using in the video seems to point to a different txt file meanwhile (.../lectures/DJ-04-Model-One.txt).

  • @ivarsvanberg7415
    @ivarsvanberg7415 ปีที่แล้ว

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

  • @labeebottakath8624
    @labeebottakath8624 4 ปีที่แล้ว

    Sir how do I get dj4e on python anywhere