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 Adding Instances

Cheryl Lewman
Cheryl Lewman
9,081 Points

Weird error

The console doesn't let me scroll up (weird in itself) so I can't show everything that's happening, but this is the error I get. Note: other people have gotten the same error, asked the same question, and were given answers that I did. I had already done them early in the course, but then I went back and did them again (copying and pasting the code provided in the answer to migrate) and it still doesn't work.

File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/models/query.py", line 234, in __ repr__
data = list(self[:REPR_OUTPUT_SIZE + 1])
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/models/query.py", line 258, in __ iter__
self.fetch_all()
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/models/query.py", line 1074, in _ fetch_all
self._result_cache = list(self.iterator())
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/models/query.py", line 52, in __i ter
_
results = compiler.execute_sql()
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 848 , in execute_sql
cursor.execute(sql, params)
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/backends/utils.py", line 79, in e xecute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in e xecute
return self.cursor.execute(sql, params)
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/utils.py", line 95, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise raise value.with_traceback(tb)
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in e xecute
return self.cursor.execute(sql, params)
File "/usr/local/pyenv/versions/3.6.4/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 3 23, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: courses_course.title