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

🤑 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

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

  • 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
    • Showing results for:
    • Python
    • Flask with SQLAlchemy Basics
    • Creating a Basic Website with Flask
    • Close
  • 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 on Jan 4, 2024 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 on Jan 2, 2024 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 on Apr 6, 2023 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 on Feb 19, 2023 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 on Feb 14, 2023 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 on Nov 18, 2022 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 on Sep 26, 2022 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 on Aug 26, 2022 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 on Jan 14, 2022 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 on Jan 14, 2022 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 on Jan 14, 2022 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 on Sep 19, 2021 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 on Sep 16, 2021 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 on Sep 16, 2021 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 on Jul 2, 2021 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 on Jun 14, 2021 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 on Jun 14, 2021 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 on Jun 10, 2021 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 on Jun 9, 2021 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 on May 26, 2021 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 on Apr 24, 2021 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 on Apr 23, 2021 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 on Apr 23, 2021 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 on Apr 22, 2021 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 on Apr 8, 2021 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 on Apr 8, 2021 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 on Mar 9, 2021 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 on Feb 26, 2021 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.