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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:49:32+00:00 2026-05-22T01:49:32+00:00

Hello I seem to be having a problem of using a base template. My

  • 0

Hello I seem to be having a problem of using a base template. My base html is called help_content.html.

<html>
<head>
    <meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
    <a href="help_new_client.html">New Client</a>
    <title>User Manual</title>
    <style></style></head>
<body style="padding:10px;">
    {% block content %}{% endblock %}
</body>
</html>

Here is my child template named help_new_client.html

{% extends "help_content.html" %}
{% block content %}
<h3 class="western">New  Client</h3>
<p><b>Add client</b></p>
<p>If you are not already on the All clients screen then click “VIEW
CLIENTS” on the main menu.</p>
<p>Click on the Add client button. A Client form is displayed. Fill
the form and click save.</p>
<p>Action: VIEW CLIENTS → Add client → save</p>
<p><b>Edit client</b></p>
<p>To edit a  client simply click on the client in the All clients
list. Edit the clients information and save.</p>
<p>Action: VIEW CLIENT → click on client → click on Edit client
information → save 
</p>

{% endblock %}

EDIT: views

@login_required
def help_index(request):
    return render_to_response('help_content.html', context_instance=RequestContext(request))

@login_required
def help_new_client(request):
    return render_to_response('help_new_client.html', context_instance=RequestContext(request))

I am not really sure what I have done wrong. In help_content.html, I see {% block content %}{% endblock %} and in help_new_client.html, I see {% extends "help_content.html" %} {% block content %} {% endblock %}. I’m not sure why I am receiving these template tags rather than my content.

  • 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-22T01:49:33+00:00Added an answer on May 22, 2026 at 1:49 am

    I guess that you are not rendering the template from a view.

    Are you sure you are doing something like this in a view, and that you are executing that view via a corresponding url pattern:

    from django.template import RequestContext
    from django.shortcuts import render_to_response
    def index(request):
        return render_to_response('help_content.html',
                          context_instance=RequestContext(request))
    

    I don’t see in your extended template this as the first line:

    {% extends 'help_content.html' %}
    

    And close the </body> tag in your base template just to be sure.

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

Sidebar

Related Questions

No related questions found

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.