Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Zoo Market Table | Models
Django: First Dive
course content

Course Content

Django: First Dive

Django: First Dive

1. Get Started
2. Write the First Page
3. Models
4. Working with Database
5. Templates
6. Request Handling

bookChallenge: Zoo Market Table

Note

  • The existing fields you can see in the Django documentation.
  • The presented code for the task is part of the framework and cannot work separately, so errors will be received when you try to Run Code. Use the Submit Task button to solve this task.

Task

Create the following Animal table in the database using the Django ORM:

ER model of this table:

Ignore the records in the table. You only need to make the table structure.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Zoo Market Table

Note

  • The existing fields you can see in the Django documentation.
  • The presented code for the task is part of the framework and cannot work separately, so errors will be received when you try to Run Code. Use the Submit Task button to solve this task.

Task

Create the following Animal table in the database using the Django ORM:

ER model of this table:

Ignore the records in the table. You only need to make the table structure.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 3
toggle bottom row

bookChallenge: Zoo Market Table

Note

  • The existing fields you can see in the Django documentation.
  • The presented code for the task is part of the framework and cannot work separately, so errors will be received when you try to Run Code. Use the Submit Task button to solve this task.

Task

Create the following Animal table in the database using the Django ORM:

ER model of this table:

Ignore the records in the table. You only need to make the table structure.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Note

  • The existing fields you can see in the Django documentation.
  • The presented code for the task is part of the framework and cannot work separately, so errors will be received when you try to Run Code. Use the Submit Task button to solve this task.

Task

Create the following Animal table in the database using the Django ORM:

ER model of this table:

Ignore the records in the table. You only need to make the table structure.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 3. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
some-alt