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 6133221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:12:01+00:00 2026-05-23T17:12:01+00:00

I am editing file: /templates/account/base.html and in it want to include: /templates/profiles/includes/sub_nav.html I have

  • 0

I am editing file:

/templates/account/base.html

and in it want to include:

/templates/profiles/includes/sub_nav.html

I have tried the following:

{% block subnav %}{% include "profiles/includes/sub_nav.html"%}{% endblock %}

result: no error but no inclusion of side bar

and I have also tried

{% block subnav %}{% include "../profiles/includes/sub_nav.html"%}{% endblock %}

result:
Template error page: Exception Value: Caught TemplateDoesNotExist while rendering: ../profiles/includes/sub_nav.html

with following line highlighted:
{% extends “account/base.html” %}

Thus, for below, what should XXX be as contained /templates/account/base.html?

{% block subnav %}{% include "XXX/sub_nav.html"%}{% endblock %}
  • 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-23T17:12:02+00:00Added an answer on May 23, 2026 at 5:12 pm

    “result: no error but no inclusion of side bar”.

    Logical conclusion

    Your sub_nav.html has problems. Or your base.html has problem The include is working. It must be the HTML, CSS or Django Tags.

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

Sidebar

Related Questions

Using vi I started editing a html file and I accidentally exited out of
say, I'm editing a file called application_controller.rb, which in ~/work/foo/app/controller/ . Now I want
I often find myself in the following situation. Say I was editing a file
I have so far tried Editing php.ini to allow_url_open = on; I have tried
When I am editing a file in Vim I have some lines with a
I edited the index.template.html file, adding a script block to the HEAD section, but
I am currently editing a file, and I'm using irb to test the api:
Background: I was editing a file in vim using putty over ssh. In order
I am editing a file like /path/to/file.txt with vim, hence the current directory is
I've read here that editing a file in-place is not possible since it's OS

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.