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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

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

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • 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,315 Points

    No post table

    Posted November 10, 2015 11:10am by Josh Keenan
    Josh Keenan
    20,315 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.

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.