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.

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

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

  • 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
  • Christian Basile
    Christian Basile
    2,067 Points

    When I register a user I get a 404 error , not sure what to do. where are the css/js codes? Thanks

    Posted June 13, 2020 2:12pm by Christian Basile
    Christian Basile
    2,067 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    0 Answers

  • Kamaren McCord
    Kamaren McCord
    11,236 Points

    Cannot use the post model, help please

    Posted January 21, 2020 8:18pm by Kamaren McCord
    Kamaren McCord
    11,236 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    4 Answers

  • natem2
    natem2
    74 Points

    See the following error on 'Post Form and View' code: __init__() missing 1 required positional argument: 'model'

    Posted March 30, 2019 3:58am by natem2
    natem2
    74 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    6 Answers

  • nuri jeon
    nuri jeon
    14,376 Points

    g.user._get_current_object() vs current_user._get_current_object()

    Posted May 31, 2018 5:55am by nuri jeon
    nuri jeon
    14,376 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    0 Answers

  • Arnaldo Acosta
    Arnaldo Acosta
    15,870 Points

    return redirect(url_for('index')) return render_template('post.html', form=form)

    Posted March 22, 2018 1:42am by Arnaldo Acosta
    Arnaldo Acosta
    15,870 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    1 Answer

  • Marta P.
    Marta P.
    2,849 Points

    Error message when booting app

    Posted August 29, 2017 8:52pm by Marta P.
    Marta P.
    2,849 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    1 Answer

  • Alx Ki
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Alx Ki
    Python Web Development Techdegree Graduate 14,810 Points

    How to remove "# label from forms.py" from page?

    Posted September 30, 2016 10:33am by Alx Ki
    .a{fill-rule:evenodd;}techdegree seal-36
    Alx Ki
    Python Web Development Techdegree Graduate 14,810 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    0 Answers

  • Arihant Jain
    Arihant Jain
    306 Points

    Facing Problem

    Posted June 10, 2016 7:45am by Arihant Jain
    Arihant Jain
    306 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    0 Answers

  • Arihant Jain
    Arihant Jain
    306 Points

    ForeignKeyField?

    Posted June 10, 2016 4:31am by Arihant Jain
    Arihant Jain
    306 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    1 Answer

  • Jacob Murphy
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jacob Murphy
    Full Stack JavaScript Techdegree Graduate 32,014 Points

    ValueError [Solved]

    Posted January 3, 2016 5:16pm by Jacob Murphy
    .a{fill-rule:evenodd;}techdegree seal-36
    Jacob Murphy
    Full Stack JavaScript Techdegree Graduate 32,014 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    0 Answers

  • Daniel King
    Daniel King
    2,317 Points

    Purpose of the Flask g object?

    Posted November 24, 2015 2:55am by Daniel King
    Daniel King
    2,317 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    1 Answer

  • Kyle Barney
    Kyle Barney
    9,081 Points

    Flask BuildError When Including Link

    Posted November 19, 2015 7:09pm by Kyle Barney
    Kyle Barney
    9,081 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    2 Answers

  • Paul Vitalis
    PLUS
    Paul Vitalis
    Courses Plus Student 217 Points

    Database locked!

    Posted October 28, 2015 8:45pm by Paul Vitalis
    Paul Vitalis
    Courses Plus Student 217 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    1 Answer

  • Madhavi Chakra
    Madhavi Chakra
    111 Points

    Database error....

    Posted October 5, 2015 12:19am by Madhavi Chakra
    Madhavi Chakra
    111 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    2 Answers

  • Joseph Anderson
    Joseph Anderson
    10,617 Points

    Task 3 not passing of this Lunch Order challenge.

    Posted July 26, 2015 3:45pm by Joseph Anderson
    Joseph Anderson
    10,617 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    2 Answers

  • Daniel Dircz
    Daniel Dircz
    1,347 Points

    Deleting a Post

    Posted July 11, 2015 3:55pm by Daniel Dircz
    Daniel Dircz
    1,347 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    1 Answer

  • Thanitsak Leuangsupornpong
    Thanitsak Leuangsupornpong
    7,490 Points

    Why in this video have a beautiful layout, but mine look very simple?

    Posted April 7, 2015 4:13am by Thanitsak Leuangsupornpong
    Thanitsak Leuangsupornpong
    7,490 Points
    • Python
    • Build a Social Network with Flask
    • Broadcasting
    • Post Form and View

    10 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