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

Python Django Basics Model Administration Django's Admin

Where does this data live?

So we can create new courses in the admin, but what if you wanted to save millions of courses. Would this need to be linked up to a database like postgreSQL?

4 Answers

You can save millions of courses in SQLite3, but the performance in PostgreSQL would be much better.

Dustin Honeck
Dustin Honeck
12,504 Points

The data should all be in your database file (db.sqlite3) that is located in your root learning_site directory. Django will create the database file using SQLite unless you configure it to use another database when you run "python manage.py migrate". Here is some database documentation from Django's website.

In the database!! I think they are using sqlite here so there!

In database. For this course, it should be sqlite3.