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!
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
cj thompsonCourses Plus Student 3,456 Points
Making Classes from an existing db?
I know that python manage.py inspectdb returns tables of an existing database as Classes...Isn't there any easier way? I can see the all the tables in the Db Browser, I'm just not sure how make them all classes other than runnning inspectdb. Seems like that can't be the best way...
Thanks for any help. This course is awesome.
Haydar Al-Rikabi5,971 Points
To view your database in your browser, you have to use third-party tools, like:
- "SQLite Browser" for sqlite databases: http://sqlitebrowser.org/
- "PHPMyAdmin" for mysql databases: https://www.phpmyadmin.net/
Basically, search on Google for a database browser and you will be sure to find a tool for your database.