Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 615297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:12:18+00:00 2026-05-13T18:12:18+00:00

When using the register.inclusion_tag() shortcut on a Custom Template Tag, assuming you define the

  • 0

When using the register.inclusion_tag() shortcut on a Custom Template Tag, assuming you define the template as 'some_fragment.html', in what directories/order does Django try to find that template?

Assume as many ‘defaults’ as is reasonable.

The Custom Template Tag portion of the documentation doesn’t list anything specific, except that the template there is one that is defined by the template tag author, not the designer.

I read that and assume that it might look in your custom template tags directory first, but haven’t tried it yet, but I have a feeling that it does the ‘usual defaults’ for templates, and nothing magical or special… but it is pony powered, so I had to ask.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:12:18+00:00Added an answer on May 13, 2026 at 6:12 pm

    It follows exactly the same rules as for any other template. That is, it will use the directories specified in your TEMPLATE_DIRS setting in order – then, depending on the contents of your TEMPLATE_LOADERS setting, will also look in templates subdirectories under each of your apps. It won’t ever look in the templatetags directory itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom user registration form at: somepath/register using hook form alter. I
I want to make something like http://www.djangosnippets.org/accounts/register/ using django..the register form. I am new
I'm trying to create a custom template tag that only renders a block of
Does anyone know of a way to register (using code of course) my application
I'm trying to hook into Google Analytics and have this: @using (Html.BeginForm(Register, Account, FormMethod.Post,
I have a website with login and register forms using custom HDI Membership provider
using register_shutdown_function I can register code to execute at the end of a PHP
I have a [ComRegisterFunction] that I am using to register a BHO Internet explorer
Is there a danger in using the $gp register to store a value? I
I have written a COM dll, and wish to register it using regsvr32 myComdll.dll

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.