Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Jay Reyes
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jay Reyes
    Python Web Development Techdegree Student 15,937 Points

    g.user and current_user

    Posted January 9, 2019 10:10pm by Jay Reyes
    .a{fill-rule:evenodd;}techdegree
    Jay Reyes
    Python Web Development Techdegree Student 15,937 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    1 Answer

  • Richard Li
    Richard Li
    9,751 Points

    Peewee syntax update on social-network building courses

    Posted July 8, 2018 12:27pm by Richard Li
    Richard Li
    9,751 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    1 Answer

  • Nitesh Kumar
    Nitesh Kumar
    1,055 Points

    Getting builtins.TypeError TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given

    Posted January 17, 2016 8:20am by Nitesh Kumar
    Nitesh Kumar
    1,055 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    2 Answers

  • Joseph Banks
    Joseph Banks
    5,070 Points

    user.posts vs. user.get_stream()

    Posted November 29, 2015 7:43pm by Joseph Banks
    Joseph Banks
    5,070 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    1 Answer

  • Josh Keenan
    Josh Keenan
    20,320 Points

    No post table

    Posted November 10, 2015 11:10am by Josh Keenan
    Josh Keenan
    20,320 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    2 Answers

  • Gabriel Rivera
    PLUS
    Gabriel Rivera
    Courses Plus Student 11,489 Points

    AttributeError: type object 'User' has no attribute 'create_user'

    Posted October 22, 2015 8:33pm by Gabriel Rivera
    Gabriel Rivera
    Courses Plus Student 11,489 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    6 Answers

  • Madhavi Chakra
    Madhavi Chakra
    111 Points

    Code won't run!

    Posted October 3, 2015 10:19pm by Madhavi Chakra
    Madhavi Chakra
    111 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    2 Answers

  • Wes Chumley
    Wes Chumley
    6,385 Points

    locked database - Build a Social Network with Flask

    Posted September 11, 2015 7:01pm by Wes Chumley
    Wes Chumley
    6,385 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    1 Answer

  • Guled Ahmed
    Guled Ahmed
    12,806 Points

    Where did the "get_stream" method come from?

    Posted May 20, 2015 3:13pm by Guled Ahmed
    Guled Ahmed
    12,806 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    1 Answer

  • Igors Smirnovs
    Igors Smirnovs
    10,441 Points

    Where does username come from (if username)?

    Posted May 11, 2015 1:24pm by Igors Smirnovs
    Igors Smirnovs
    10,441 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    1 Answer

  • Taylor Laine
    Taylor Laine
    9,629 Points

    How do we fix it so it says the current time of post not 45 years

    Posted May 5, 2015 6:24am by Taylor Laine
    Taylor Laine
    9,629 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    1 Answer

  • John Sanchez
    John Sanchez
    3,325 Points

    g.user vs. current_user

    Posted March 29, 2015 6:47pm by John Sanchez
    John Sanchez
    3,325 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    2 Answers

  • abou93
    abou93
    14,319 Points

    peewee.OperationalError: no such table: post What does this mean?

    Posted March 25, 2015 1:28am by abou93
    abou93
    14,319 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Stream Views

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord