From the course: Building a Personal Portfolio with Django

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Creating model objects via the admin panel in Django

Creating model objects via the admin panel in Django

From the course: Building a Personal Portfolio with Django

Start my 1-month free trial

Creating model objects via the admin panel in Django

- [Instructor] So we've come to an exciting point in our project. We did a lot of work to get our database up and running, get it connected with our Django project. We're now gonna be creating our very first job object. So make sure you're here on the admin site. Remember that's just the localhost:8000/admin. Once you're logged in with your super-user, we're gonna move into Jobs here, if you just click on that. And we're gonna hit this ADD JOB button. So essentially what this is doing is saying, "I want to add a new job into the database." And it's asking us for the two properties. It's saying, "I need an image and I need a summary." Remember, we had said this is maxed out as 200 and these eventually will get saved to place called images. Now, if we're gonna make a job, you have to have some sort of image to show here, and so the whole idea with your portfolio here is you're showing past jobs that you worked out or side projects that you were working on, so you'll want to include…

Contents