🤑 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • Hien Ha
    Hien Ha
    1,417 Points

    Stuck with ManyToMany relationship

    Posted October 25, 2019 12:51pm by Hien Ha
    Hien Ha
    1,417 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    0 Answers

  • Hien Ha
    Hien Ha
    1,417 Points

    Course.step_set.all for ManyToMany relationship

    Posted October 25, 2019 8:53am by Hien Ha
    Hien Ha
    1,417 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    0 Answers

  • PaweÅ‚ Wilkus
    Paweł Wilkus
    4,804 Points

    Can somebody explain what was that?

    Posted October 4, 2019 3:05pm by Paweł Wilkus
    Paweł Wilkus
    4,804 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Dat Ngo
    Dat Ngo
    1,309 Points

    What is pk

    Posted August 10, 2019 3:47pm by Dat Ngo
    Dat Ngo
    1,309 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    2 Answers

  • vinay kumar
    vinay kumar
    147 Points

    Error executing python file

    Posted March 3, 2018 2:58am by vinay kumar
    vinay kumar
    147 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Oprea Mihai
    Oprea Mihai
    5,592 Points

    include()

    Posted January 24, 2018 11:39pm by Oprea Mihai
    Oprea Mihai
    5,592 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Oprea Mihai
    Oprea Mihai
    5,592 Points

    ForeignKey

    Posted January 22, 2018 5:48am by Oprea Mihai
    Oprea Mihai
    5,592 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    2 Answers

  • Paulo Longino
    Paulo Longino
    5,017 Points

    URLpatterns for Django 2 is quite different it can't accept regular expressions any help

    Posted January 19, 2018 9:44am by Paulo Longino
    Paulo Longino
    5,017 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    2 Answers

  • Serdar Halac
    Serdar Halac
    15,259 Points

    Why does the empty url have a chevron but not the others?

    Posted January 15, 2018 8:47am by Serdar Halac
    Serdar Halac
    15,259 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Keith Ostertag
    Keith Ostertag
    16,619 Points

    /admin/courses/course/1/ being rerouted to /admin/courses/course/1/change/

    Posted September 17, 2017 6:50pm by Keith Ostertag
    Keith Ostertag
    16,619 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • João Elvas
    João Elvas
    5,400 Points

    ValueError

    Posted February 9, 2017 2:32pm by João Elvas
    João Elvas
    5,400 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Gilang Ilhami
    Gilang Ilhami
    12,045 Points

    Nothin appeared during the {% for step in course.step_set.all %} loop

    Posted January 25, 2017 7:20pm by Gilang Ilhami
    Gilang Ilhami
    12,045 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    2 Answers

  • Brian Anstett
    Brian Anstett
    5,831 Points

    How does the value of PK, the named regex, get passed to views.courseDetails?

    Posted December 21, 2016 4:39am by Brian Anstett
    Brian Anstett
    5,831 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Cirrus Streamer
    Cirrus Streamer
    4,351 Points

    Could not parse the remainder: '% course.title %' from '% course.title %'

    Posted November 1, 2016 11:27am by Cirrus Streamer
    Cirrus Streamer
    4,351 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Team GDiz
    PLUS
    Team GDiz
    Courses Plus Student 24,942 Points

    Page not found at courses/1

    Posted September 11, 2016 11:35am by Team GDiz
    Team GDiz
    Courses Plus Student 24,942 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    2 Answers

  • Edouard Corbin
    Edouard Corbin
    1,992 Points

    Error - TemplateDoesNotExist at /courses/2

    Posted April 26, 2016 3:53pm by Edouard Corbin
    Edouard Corbin
    1,992 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    2 Answers

  • Brendan Whiting
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points

    Help me understand P<pk>

    Posted January 6, 2016 12:33am by Brendan Whiting
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    2 Answers

  • Denny Ho
    Denny Ho
    4,472 Points

    Django: Add a detail view, detail not showing up

    Posted October 20, 2015 11:59pm by Denny Ho
    Denny Ho
    4,472 Points
    • Python
    • Django Basics
    • Django Templates
    • Add a Detail View

    1 Answer

  • Y B
    Y B
    14,136 Points

    Use related name instead of _set()

    Posted July 14, 2015 12:59pm by Y B
    Y B
    14,136 Points
    • HTML
    • Django Basics
    • Django Templates
    • Add a Detail 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.