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 trialPreston Dunn
Python Development Techdegree Student 3,723 PointsIncorrect pycharm icon
I followed along and used pycharm, but my models.py file is not showing as a DB icon, but a file icon? Could this be an issue with my code or my pycharm settings?
1 Answer
Mel Rumsey
Treehouse ModeratorHey there Preston Dunn! Since the file is a .py
extension it is in fact, a python file and not a database. This is where you are setting up your database model. When your database is initialized, it will be created in your project folder as a database file.