Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRyan Carson
23,287 PointsImport Challenge?
I'm completely stumped by what this Code Challenge is asking for step one. Any hints?
class Challenge(Model):
1 Answer
William Li
Courses Plus Student 26,868 PointsHi, Ryan Carson
from models import Challenge
Import the Challenge model from models.py.
I think there's a typo here, it supposed be module instead of model
Geoff Parsons
11,679 PointsFor a reference check out The Challenge from Python Basics.
Kenneth Love
Treehouse Guest TeacherNo, "model" isn't a typo. I want you to know that it's a model...but I guess that's handled by it being from models.py
, huh? Maybe I'll change "model" to "class".
beven nyamande
9,575 Pointsbeven nyamande
9,575 Pointswhat the question asking you to do