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 trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Edward Seibert](https://uploads.teamtreehouse.com/production/profile-photos/672622/micro_dollaz.jpg)
Edward Seibert
32,055 PointsImport from courses.models doesn't resolve.
When I try to import the Course model I'm getting an unresolved reference for 'courses'. I can't seem to find where I should tell python to import the model from!
2 Answers
![Edward Seibert](https://uploads.teamtreehouse.com/production/profile-photos/672622/micro_dollaz.jpg)
Edward Seibert
32,055 PointsLooks like the problem was my Pycharm. Somewhere along the line my project was un-marked as the sources root!
![Santosh Pillai](https://secure.gravatar.com/avatar/1c334f29e17b8fdab0d5634b6e3b7f6e?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Santosh Pillai
3,052 PointsHi Edward
I'm facing the same issue in pycharm. How did you resolve it ?
![Edward Seibert](https://uploads.teamtreehouse.com/production/profile-photos/672622/micro_dollaz.jpg)
Edward Seibert
32,055 PointsYou'll want to find the project folder in the left-side document tree and right-click on it. Choose Mark Directory As > Sources Root.