DEV Community

Discussion on: Learn Django: Build a netflix clone

Collapse
 
yvan_koabiloa_c95508b4ff profile image
Yvan KOA BILOA

When you do the python command manage.py makemigrations for the Django migrations topic, you get two categories:

  • Create Model Movie
  • Create Model Category I don't get this. I only get init.py. What is the problem for me?

But also in Media, you have two sub-files that appear movies and preview_images. I don't get those categories either. Can you also explain to me where my problem might be?
Image description

Collapse
 
fayomihorace profile image
Horace FAYOMI

For the two sub-files in media folder don't worry, it's not required at this step of the tutorial even though it is in the final source code.

Collapse
 
yvan_koabiloa_c95508b4ff profile image
Yvan KOA BILOA

Thank you

Collapse
 
fayomihorace profile image
Horace FAYOMI

Hey Yvan, it's not normal indeed. Are you sure you've added the models code into your models.py file.

Collapse
 
yvan_koabiloa_c95508b4ff profile image
Yvan KOA BILOA

yes, I added the models code in my models.py file but it didn't work. And I can't go further when I try to replicate your model for the database. Could you help me please ?

Thread Thread
 
fayomihorace profile image
Horace FAYOMI • Edited

Yes, you could either:
1- push the current state of your code on github and send me the link so I'll pull and debug for you
Or
2- we could schedule a live pair programming debugging session
Which one works best for you ?

Anyways, here is my github email: fayomihorace@gmail.com

Ans if you go for the pair programming, write me to this email folahanfayomi@gmail.com.