Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • 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
  • Emily Strobl
    Emily Strobl
    5,429 Points

    First Model Challenge task 1

    Posted June 18, 2020 3:49pm by Emily Strobl
    Emily Strobl
    5,429 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Hien Ha
    Hien Ha
    1,417 Points

    What wrong with my exercise

    Posted September 26, 2019 10:39am by Hien Ha
    Hien Ha
    1,417 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Hien Ha
    Hien Ha
    1,417 Points

    Confused by Field and attribute

    Posted September 12, 2019 7:10pm by Hien Ha
    Hien Ha
    1,417 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Gregory James
    Gregory James
    6,537 Points

    Article

    Posted February 13, 2019 7:38am by Gregory James
    Gregory James
    6,537 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    2 Answers

  • Mark Gao
    Mark Gao
    1,953 Points

    publish_date = models.DateTimeField() not working on certain attempts

    Posted January 8, 2019 4:33pm by Mark Gao
    Mark Gao
    1,953 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Banjo Quint
    Banjo Quint
    1,452 Points

    Model problem

    Posted January 8, 2019 2:59pm by Banjo Quint
    Banjo Quint
    1,452 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    2 Answers

  • Cheryl Lewman
    Cheryl Lewman
    9,123 Points

    The last part isn't working: add a third field named 'content' and give it a Text Field with no arguments.

    Posted September 28, 2018 9:09pm by Cheryl Lewman
    Cheryl Lewman
    9,123 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Cristy Lucke
    PLUS
    Cristy Lucke
    Courses Plus Student 3,040 Points

    Adding publish_date as DateTimeField fails, but failure message too vague to figure out what I did wrong

    Posted May 18, 2018 3:42pm by Cristy Lucke
    Cristy Lucke
    Courses Plus Student 3,040 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Doyle Lardell
    PLUS
    Doyle Lardell
    Courses Plus Student 888 Points

    confused bt directions

    Posted April 21, 2018 4:00pm by Doyle Lardell
    Doyle Lardell
    Courses Plus Student 888 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Travis Spencer
    Travis Spencer
    4,639 Points

    Django Basics - Challenge Task 2 of 3 - DateTimeField

    Posted January 1, 2018 6:29pm by Travis Spencer
    Travis Spencer
    4,639 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    3 Answers

  • rtkacddqbo
    rtkacddqbo
    9,662 Points

    Not sure what I'm doing wrong here, I added the third and final attribute TextField() named 'content'

    Posted August 12, 2017 7:25pm by rtkacddqbo
    rtkacddqbo
    9,662 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Piotr Sternicki
    PLUS
    Piotr Sternicki
    Courses Plus Student 203 Points

    Test issue

    Posted June 30, 2017 11:19am by Piotr Sternicki
    Piotr Sternicki
    Courses Plus Student 203 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    2 Answers

  • Manuel Haro
    Manuel Haro
    1,254 Points

    First Model

    Posted June 25, 2017 5:22pm by Manuel Haro
    Manuel Haro
    1,254 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Jose Lara
    Jose Lara
    12,223 Points

    model does work

    Posted December 25, 2016 9:23pm by Jose Lara
    Jose Lara
    12,223 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • qianyi wang
    qianyi wang
    601 Points

    datatimefield() with no augement , I did not understand

    Posted December 4, 2016 1:04am by qianyi wang
    qianyi wang
    601 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Nicholas Anstis
    Nicholas Anstis
    2,095 Points

    Create a model named Article that has a headline attribute. Article.headline should be a CharField with a max_length of

    Posted May 16, 2016 7:00pm by Nicholas Anstis
    Nicholas Anstis
    2,095 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    2 Answers

  • Billy Feighery
    Billy Feighery
    9,866 Points

    been stuck on this for 24 hours now. class Article(model.Models): headline = models.CharField(max_length=255)

    Posted May 11, 2016 9:38pm by Billy Feighery
    Billy Feighery
    9,866 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

  • Abe Daniels
    PLUS
    Abe Daniels
    Courses Plus Student 2,781 Points

    What does this error mean?

    Posted July 12, 2015 9:26pm by Abe Daniels
    Abe Daniels
    Courses Plus Student 2,781 Points
    • Python
    • Django Basics
    • Model Administration
    • First Model

    1 Answer

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