🤑 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
  • Jorge Grajeda
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jorge Grajeda
    Python Development Techdegree Graduate 8,186 Points

    "Make sure to print out request.form inside of the form function before the return".

    Posted January 4, 2024 11:43pm by Jorge Grajeda
    .a{fill-rule:evenodd;}techdegree seal-36
    Jorge Grajeda
    Python Development Techdegree Graduate 8,186 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Set Up a Form

    1 Answer

  • Jorge Grajeda
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Jorge Grajeda
    Python Development Techdegree Graduate 8,186 Points

    Could somebody help me solve this coding challenge ?

    Posted January 2, 2024 10:11pm by Jorge Grajeda
    .a{fill-rule:evenodd;}techdegree seal-36
    Jorge Grajeda
    Python Development Techdegree Graduate 8,186 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    1 Answer

  • S M Tasfiqul Asif
    S M Tasfiqul Asif
    11,514 Points

    can someone please tell me why it is showing an error?

    Posted April 6, 2023 10:31am by S M Tasfiqul Asif
    S M Tasfiqul Asif
    11,514 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Zinia Khondoker
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Zinia Khondoker
    Python Development Techdegree Graduate 10,451 Points

    Stuck on this block question

    Posted February 19, 2023 4:32pm by Zinia Khondoker
    .a{fill-rule:evenodd;}techdegree seal-36
    Zinia Khondoker
    Python Development Techdegree Graduate 10,451 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    1 Answer

  • Zinia Khondoker
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Zinia Khondoker
    Python Development Techdegree Graduate 10,451 Points

    Create a homepage route located at the root route '/'. The function should be called index. Inside the function, return

    Posted February 14, 2023 5:38pm by Zinia Khondoker
    .a{fill-rule:evenodd;}techdegree seal-36
    Zinia Khondoker
    Python Development Techdegree Graduate 10,451 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Zack Guignardi
    Zack Guignardi
    4,277 Points

    Flask with SQLAlchemy Basics Challenge Task 3 of 3

    Posted November 18, 2022 2:58pm by Zack Guignardi
    Zack Guignardi
    4,277 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Juventina Berenice Ibarra Sanchez
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Juventina Berenice Ibarra Sanchez
    UX Design Techdegree Graduate 17,982 Points

    hi guys! im lost on this exercise, can anybody help me

    Posted September 26, 2022 4:29am by Juventina Berenice Ibarra Sanchez
    .a{fill-rule:evenodd;}techdegree seal-36
    Juventina Berenice Ibarra Sanchez
    UX Design Techdegree Graduate 17,982 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    1 Answer

  • Adam Fournace
    Adam Fournace
    5,120 Points

    What is {% block link %} in jinja? I can't find any documentation on it or where it was referenced in the video.

    Posted August 26, 2022 9:14am by Adam Fournace
    Adam Fournace
    5,120 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    1 Answer

  • jmac pd
    jmac pd
    11,490 Points

    Flask Basics - Forms - KeyError: 'name'

    Posted January 14, 2022 7:20pm by jmac pd
    jmac pd
    11,490 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Forms

    1 Answer

  • Travers Geoffray
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Travers Geoffray
    Python Development Techdegree Graduate 26,967 Points

    Says "don't forget a couple of empty lines before the dunder main." What am I doing wrong here?

    Posted January 14, 2022 4:10pm by Travers Geoffray
    .a{fill-rule:evenodd;}techdegree seal-36
    Travers Geoffray
    Python Development Techdegree Graduate 26,967 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • jmac pd
    jmac pd
    11,490 Points

    Flask SQLAlchemy -- "you should have __main__ at the end of your code"?

    Posted January 14, 2022 2:53pm by jmac pd
    jmac pd
    11,490 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Jorge Blanco
    PLUS
    Jorge Blanco
    Courses Plus Student 54 Points

    where are the support files

    Posted September 19, 2021 1:41am by Jorge Blanco
    Jorge Blanco
    Courses Plus Student 54 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Templates

    1 Answer

  • Nataliya Fateeva
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nataliya Fateeva
    Python Development Techdegree Student 4,858 Points

    Another issue with objective

    Posted September 16, 2021 2:19pm by Nataliya Fateeva
    .a{fill-rule:evenodd;}techdegree
    Nataliya Fateeva
    Python Development Techdegree Student 4,858 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Nataliya Fateeva
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Nataliya Fateeva
    Python Development Techdegree Student 4,858 Points

    Looks like issue in challenge task?

    Posted September 16, 2021 2:07pm by Nataliya Fateeva
    .a{fill-rule:evenodd;}techdegree
    Nataliya Fateeva
    Python Development Techdegree Student 4,858 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Noor Hafiza Binti Ibrahim
    Noor Hafiza Binti Ibrahim
    11,712 Points

    Why? I can’t pass the challenge. I keep getting Bummer: You should have a dunder main at the end of your file.

    Posted July 2, 2021 12:03pm by Noor Hafiza Binti Ibrahim
    Noor Hafiza Binti Ibrahim
    11,712 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    2 Answers

  • Danielle Murray
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points

    Hi help would be much appreciated on this one. i think i got my code correct but maybe my i have a syntax error.

    Posted June 14, 2021 5:42pm by Danielle Murray
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    1 Answer

  • Danielle Murray
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points

    h

    Posted June 14, 2021 5:42pm by Danielle Murray
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    1 Answer

  • Danielle Murray
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points

    Hi could you please urgently help me pass this task, i'm struggling to understand how to add the link properly

    Posted June 10, 2021 9:16pm by Danielle Murray
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    3 Answers

  • Danielle Murray
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points

    Hi could you please help me fix this error i am getting - Make sure to place your route after your app variable.

    Posted June 9, 2021 4:22am by Danielle Murray
    .a{fill-rule:evenodd;}techdegree seal-36
    Danielle Murray
    Python Development Techdegree Graduate 7,755 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Marcelo Garcia
    Marcelo Garcia
    5,240 Points

    Is something wrong with my anchor link ? or inheritance ?

    Posted May 26, 2021 3:40am by Marcelo Garcia
    Marcelo Garcia
    5,240 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    1 Answer

  • Anthony Piscocama
    Anthony Piscocama
    5,704 Points

    Bummer: You should have a dunder main at the end of your file.

    Posted April 24, 2021 12:21pm by Anthony Piscocama
    Anthony Piscocama
    5,704 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    Inside of the form.html file, you will connect the form to your route. In the <form> tag, set the action attribute with

    Posted April 23, 2021 4:10am by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Set Up a Form

    1 Answer

  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    Why my code is incorrect? Please help. Flask for Python

    Posted April 23, 2021 2:57am by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Thomas Dimnet
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Thomas Dimnet
    Python Development Techdegree Graduate 43,629 Points

    Add-pet page does not have any style

    Posted April 22, 2021 3:01pm by Thomas Dimnet
    .a{fill-rule:evenodd;}techdegree seal-36
    Thomas Dimnet
    Python Development Techdegree Graduate 43,629 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Template Inheritance

    4 Answers

  • Mat Clark
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Mat Clark
    Python Development Techdegree Student 4,369 Points

    Possible bug?

    Posted April 8, 2021 5:19pm by Mat Clark
    .a{fill-rule:evenodd;}techdegree
    Mat Clark
    Python Development Techdegree Student 4,369 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

  • Mat Clark
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Mat Clark
    Python Development Techdegree Student 4,369 Points

    Error message trying to activate scripts

    Posted April 8, 2021 4:15pm by Mat Clark
    .a{fill-rule:evenodd;}techdegree
    Mat Clark
    Python Development Techdegree Student 4,369 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Intro to Flask

    1 Answer

  • Tom de Visser
    Tom de Visser
    2,709 Points

    What is a virtual environment in Python, and why is there no video explaining this?

    Posted March 9, 2021 10:37am by Tom de Visser
    Tom de Visser
    2,709 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Intro to Flask

    1 Answer

  • Luis Roca
    Luis Roca
    2,013 Points

    What's wrong with my view (app.route) . I don't understand why it isn't running the third task properly. Thanks!

    Posted February 26, 2021 11:51pm by Luis Roca
    Luis Roca
    2,013 Points
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Create a Flask App

    1 Answer

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.