👉

Did you like how we did? Rate your experience!

Rated 4.5 out of 5 stars by our customers 561

Award-winning PDF software

review-platform review-platform review-platform review-platform review-platform

Video instructions and help with filling out and completing Form 8815 Filers

Instructions and Help about Form 8815 Filers

Already houses welcome back. In this video, I am going to show you guys how to handle file uploads. So, what I want to do is instead of making the user go through the entire Internet and find the proper album logo cover picture and then copy the URL and paste it in, what I want to do is I just want to have them click a button, browse the computer for the image, and upload it to our server. Pretty much how you add any image to a website, like you're just uploading a picture to Facebook or whatever. So, before you get started, what I want you guys to do is go to your admin panel and delete all of your albums and also all your songs. The reason for that is because we're actually going to change the entire structure of our database. So, we're only going to be making a minor change, but if all the old albums have this and all the new ones have a file field, then it's going to be confusing. So, just go ahead and delete all your albums and you'll be good. So, after that, instead of this field being a character field, which essentially just means text, what you need to make it is a file field. Pretty cool! So, now that we actually changed the structure of our database, we need to pop open Terminal. And you remember the two commands that you use? That's Python manage.py makemigrations music and Python manage.py migrate. There you go! Now, I actually have these changes already, but if you don't, then go ahead and make them and restart your server. The reason that I have those already is because I was actually filming this tutorial and then I noticed that I don't know,...