Code Challenge: Django Models

Django is a popular Python framework for building web applications. For this code challenge, you can complete it by:
- Defining a one-to-one relationship between the user model and the profile model.
- 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!