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 Build a Social Network with Flask Broadcasting Stream Views

Richard Li
Richard Li
9,751 Points

Peewee syntax update on social-network building courses

from peewee docs:

ForeignKeyField constructor has the following changes:

rel_model has changed to model to_field has changed to field related_name has changed to backref SERIOUSLY, THE FLASK COURSE NEEDS SOME UPDATES!

1 Answer

nakalkucing
nakalkucing
12,964 Points

I agree that updates are needed, but it appears Treehouse has no plans to: On May 23 (2019), Ben Jakuben said:

We're revamping Python plans for the rest of the year, and it looks like we're going to focus on Django refreshes over Flask because of its higher demand in the job market. We are also confident that students who learn Django with us will be able to pick up Flask pretty easily after that. This is a little bit of a moving target, but it means we'll retire Flask content as issues like this pop up, and with updated Django content, we'll be able to offer a better learning path in the Techdegree and Django track.

The post this quote came from