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 trialCeasar Van
Courses Plus Student 236 PointsCan't get through a video without my program crashing, update this video with new versions of everything
Can't even make it through any steps without encountering jinja errors.
1 Answer
b d
206 PointsThis series are deprecated. Either should be updated or removed completely. I have even downloaded and extracted the latest files in different directory, changed the lines which were pointed out during the course that are deprecated, and still I am getting this error TypeError: init() missing 1 required positional argument: 'model'.
I'm so disappointed by this tutorial. Spend so much time until this video, to get this error. Couldn't even finish the project completely.
Alejandra Estefanía Aguilera Ávila
6,865 PointsAlejandra Estefanía Aguilera Ávila
6,865 PointsHi, b d
I got that same error and what I had to do was check out the Peewee documentation. By searching for rel_model, you'll be redirected to a section called Backwards incompatible. There you'll see that rel_model is now used simply as model because of the version.
And yeah, Treehouse has neglected its Python courses. But well... errors like this would also happen in real life.