• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Content Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Elvin Mazwimairi
    Elvin Mazwimairi
    15,541 Points

    Django templates

    Posted April 9, 2019 6:27am by Elvin Mazwimairi
    Elvin Mazwimairi
    15,541 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    1 Answer

  • maxwell ruzvidzo
    maxwell ruzvidzo
    6,822 Points

    create an inclusion tag

    Posted April 5, 2019 9:48pm by maxwell ruzvidzo
    maxwell ruzvidzo
    6,822 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    1 Answer

  • Munyaradzi D Sabamba
    Munyaradzi D Sabamba
    8,310 Points

    Finally, use the @register decorator to register the function as an inclusion tag. Use the 'courses/step_list.html' temp

    Posted April 5, 2019 9:32am by Munyaradzi D Sabamba
    Munyaradzi D Sabamba
    8,310 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    1 Answer

  • Savious Munyaradzi Ngundu
    Savious Munyaradzi Ngundu
    16,920 Points

    Next, create a function named steps_list that returns all of the Step objects.

    Posted March 10, 2019 5:49pm by Savious Munyaradzi Ngundu
    Savious Munyaradzi Ngundu
    16,920 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    2 Answers

  • Savious Munyaradzi Ngundu
    Savious Munyaradzi Ngundu
    16,920 Points

    inclusion tags

    Posted March 10, 2019 5:46pm by Savious Munyaradzi Ngundu
    Savious Munyaradzi Ngundu
    16,920 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    1 Answer

  • Perfect Tinotenda Mashingaidze
    Perfect Tinotenda Mashingaidze
    5,070 Points

    Import the Step class from the models.py

    Posted November 9, 2018 2:00pm by Perfect Tinotenda Mashingaidze
    Perfect Tinotenda Mashingaidze
    5,070 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    2 Answers

  • Jacqueline McKinney
    Jacqueline McKinney
    2,627 Points

    Create an inclusion tag: Challenge Task 4 of 5, Task 1 keeps failing after successful completion

    Posted March 18, 2017 6:33pm by Jacqueline McKinney
    Jacqueline McKinney
    2,627 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    1 Answer

  • Ethan Chae
    Ethan Chae
    18,747 Points

    Customizing Django Templates Create an Inclusion Tag

    Posted December 28, 2015 3:56pm by Ethan Chae
    Ethan Chae
    18,747 Points
    • Python
    • Customizing Django Templates
    • Building Custom Tags
    • Create An Inclusion Tag

    3 Answers

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

  • Perks
  • Treehouse for Libraries
  • Treehouse for Teams
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2022 Treehouse Island, Inc.