linkedin Skip to Main Content

What if ChatGPT was part of your technical interview?

 

Code Challenge: Django Models

Coding Challenges

Django is a popular Python framework for building web applications. For this code challenge, you can complete it by:

  1. Defining a one-to-one relationship between the user model and the profile model.
  2. Creating a many-to-many relationship between the category model and the product model.

Please see the instructions written directly in the pad to proceed.

­čĺí┬áRemember to share your solution with the hashtag #CoderpadCodeChallenge Twitter and LinkedIn.

Code challenge solution

Verify your solution with the official solution in this sandbox.

Want to conduct interviews on this platform?

Check out CoderPad : pick any interview question or create your own, then invite your candidate to a shared live-coding session on an IDE like this one. You even get 2 free interviews per month forever using this registration link!