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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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

AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or 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
      • • Vibe Coding
    • Showing results for:
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View
    • Close
  • Hien Ha
    Hien Ha
    1,417 Points

    Validility ?

    Posted on Nov 26, 2019 by Hien Ha
    Hien Ha
    1,417 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    3 Answers

  • Jesper Sørensen
    Jesper Sørensen
    540 Points

    Hi, I am getting two kinds of errors here. 1) I am not returning the right HttpResponseRedirect 2) the send_lead(...

    Posted on Aug 10, 2019 by Jesper Sørensen
    Jesper Sørensen
    540 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • SUVODEEP DUBEY
    SUVODEEP DUBEY
    2,470 Points

    OK, I need you to do a couple of things. In lead_form, check that the request's method is a POST. If it is, make a new L

    Posted on Feb 17, 2019 by SUVODEEP DUBEY
    SUVODEEP DUBEY
    2,470 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • csr13
    csr13
    33,293 Points

    Code wont pass, but it seems fine... at least to me. Any ideas?

    Posted on Jul 10, 2018 by csr13
    csr13
    33,293 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • Eric Shelby
    Eric Shelby
    28,300 Points

    Validate a Form in a View Challenge

    Posted on Apr 11, 2018 by Eric Shelby
    Eric Shelby
    28,300 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • Aaron Newberry
    Aaron Newberry
    440 Points

    Challenge Task 2 of 2 of django forms

    Posted on Apr 5, 2018 by Aaron Newberry
    Aaron Newberry
    440 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • Ian Maina
    Ian Maina
    4,571 Points

    What's wrong with my code?

    Posted on Sep 15, 2017 by Ian Maina
    Ian Maina
    4,571 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    0 Answers

  • Sagar Thakkar
    Sagar Thakkar
    8,814 Points

    It looks task one is not passing

    Posted on May 6, 2017 by Sagar Thakkar
    Sagar Thakkar
    8,814 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • Jovan Dandridge
    Jovan Dandridge
    12,835 Points

    Challenge 2, keep getting Bummer! Make sure you send an email if the form is valid.

    Posted on Nov 4, 2016 by Jovan Dandridge
    Jovan Dandridge
    12,835 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • Jovan Dandridge
    Jovan Dandridge
    12,835 Points

    having trouble getting this one

    Posted on Nov 2, 2016 by Jovan Dandridge
    Jovan Dandridge
    12,835 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    3 Answers

  • christianmejlak2
    christianmejlak2
    1,318 Points

    Django Forms - lead_form: Why is this failing? getting Make sure if is_valid - HttpResponseRedirect(reverse("lead"))

    Posted on Oct 14, 2016 by christianmejlak2
    christianmejlak2
    1,318 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    2 Answers

  • Eduardo Ismael García Pérez
    Eduardo Ismael García Pérez
    4,274 Points

    Dont work

    Posted on Jun 23, 2016 by Eduardo Ismael García Pérez
    Eduardo Ismael García Pérez
    4,274 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    1 Answer

  • Derrick Kearney
    Derrick Kearney
    2,962 Points

    My code is failing on testing the form.is_valid(), and I am not seeing why.

    Posted on Feb 11, 2016 by Derrick Kearney
    Derrick Kearney
    2,962 Points
    • Python
    • Django Forms
    • Forms
    • Validate a Form in a View

    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.