{% extends 'base.html' %} {% load static %} {% load custom_tags %} {% block title %}{{ question.brief_description|truncatewords:5 }} - Hajela's IAS Academy (HIA){% endblock %} {% block content %}

{{ question.brief_description|safe }}

{{ question.details|safe }}


{% comment %}

Exam: {% if question.exams.exists %} {{ question.exams.all|join:", " }} {% else %} No Exam specified. {% endif %}
Area: {% if question.area_name.exists %} {{ question.area_name.all|join:", " }} {% else %} No Area specified. {% endif %}
{% if question.part_name.exists %} Part: {{ question.part_name.all|join:", " }}
{% endif %} {% if question.chapter_name.exists %} Chapter: {{ question.chapter_name.all|join:", " }}
{% endif %} {% if question.topic_name.exists %} Topic: {{ question.topic_name.all|join:", " }}
{% endif %} {% if question.subtopic_name.exists %} Sub-Topic: {{ question.subtopic_name.all|join:", " }}
{% endif %} {% if question.credit_or_courtesy %} Credit/Courtesy: {{ question.credit_or_courtesy }}
{% endif %}

{% endcomment %} {% if question.question_link %}
Resource Links:
    {% for link in question.question_link|split:"," %} {% if link.strip %}
  • {{ link.strip }}
  • {% endif %} {% endfor %}
{% endif %}
{% if question.question_video %}
Video:
{% endif %} {% if question.images.exists %}

Images:

{% for image in question.images.all %}
Image
{% endfor %}
{% endif %}
{% if question.documents.exists %}
Documents:
{% endif %}



From Hajela's IAS Database Materials

(Topic Related --> Questions, Notes, Videos Lecturer, Image... )

HIA Questions Bank

Found Related Questions: {{ grouped_questions|length }}

{% if grouped_questions and grouped_questions|length > 0 %}
{% for base_id, pair in grouped_questions.items %}
English — Question {% if pair.english %}{{ pair.english.question_number }}{% else %}Not Uploaded{% endif %} {% if pair.english %}

Type Of Question → {{ pair.english.question_sub_type }}

{% endif %}
{% if pair.english %} {% if pair.english.question_sub_type in 'simple_type true_and_false_type fill_in_the_blank_type' %}

{{ pair.english.question_part_first }}

{% elif pair.english.question_sub_type == 'r_and_a_type' %}

{{ pair.english.question_part_first }}

Assertion:

{{ pair.english.assertion }}

Reason:

{{ pair.english.reason }}

{% elif pair.english.question_sub_type == 'list_type_1' %}

{{ pair.english.question_part_first }}

    {% for i in 1|to_range:8 %} {% with field="list_1_row"|add:i|stringformat:"s" %} {% with item=pair.english|get_dynamic_field:field %} {% if item %}
  1. {{ item }}
  2. {% endif %} {% endwith %} {% endwith %} {% endfor %}

{{ pair.english.question_part_third }}

{% elif pair.english.question_sub_type == 'list_type_2' %}

{{ pair.english.question_part_first }}

{{ pair.english.list_1_name|default:"List-I" }} {{ pair.english.list_2_name|default:"List-II" }}
    {% for item in pair.english.list_1_items %}
  1. {{ item }}
  2. {% endfor %}
    {% for item in pair.english.list_2_items %}
  1. {{ item }}
  2. {% endfor %}
{% endif %}

(a) {{ pair.english.answer_option_a }}

(b) {{ pair.english.answer_option_b }}

(c) {{ pair.english.answer_option_c }}

(d) {{ pair.english.answer_option_d }}


Correct Answer: {{ pair.english.correct_answer_choice }}

Solution: {{ pair.english.correct_answer_description }}

{% else %}

English version not uploaded.

{% endif %}
Hindi — Question {% if pair.hindi %}{{ pair.hindi.question_number }}{% else %}Not Uploaded{% endif %} {% if pair.hindi %}

Type Of Question → {{ pair.hindi.question_sub_type }}

{% endif %}
{% if pair.hindi %} {% if pair.hindi.question_sub_type in 'simple_type true_and_false_type fill_in_the_blank_type' %}

{{ pair.hindi.question_part_first_hi|default:"-" }}

{% elif pair.hindi.question_sub_type == 'r_and_a_type' %}

{{ pair.hindi.question_part_first_hi|default:"-" }}

Assertion:

{{ pair.hindi.assertion_hi|default:"-" }}

Reason:

{{ pair.hindi.reason_hi|default:"-" }}

{% elif pair.hindi.question_sub_type == 'list_type_1' %}

{{ pair.hindi.question_part_first_hi|default:"-" }}

    {% for i in 1|to_range:8 %} {% with field="list_1_row"|add:i|stringformat:"s"|add:"_hi" %} {% with item=pair.hindi|get_dynamic_field:field %} {% if item %}
  1. {{ item }}
  2. {% endif %} {% endwith %} {% endwith %} {% endfor %}

{{ pair.hindi.question_part_third_hi|default:"-" }}

{% elif pair.hindi.question_sub_type == 'list_type_2' %}

{{ pair.hindi.question_part_first_hi|default:"-" }}

List-I (हिंदी)List-II (हिंदी)
    {% for item in pair.hindi|get_list_items_hi:"list_1" %}
  1. {{ item }}
  2. {% endfor %}
    {% for item in pair.hindi|get_list_items_hi:"list_2" %}
  1. {{ item }}
  2. {% endfor %}
{% endif %}

(a) {{ pair.hindi.answer_option_a_hi }}

(b) {{ pair.hindi.answer_option_b_hi }}

(c) {{ pair.hindi.answer_option_c_hi }}

(d) {{ pair.hindi.answer_option_d_hi }}


Correct Answer: {{ pair.hindi.correct_answer_choice }}

Answer Description: {{ pair.hindi.correct_answer_description_hi|default:"-" }}

{% else %}

Hindi version not uploaded.

{% endif %}
{% if pair.english %}

Marks: {{ pair.english.marks }}

Negative Marks: {{ pair.english.negative_marks }}

Degree of Difficulty: {{ pair.english.degree_of_difficulty }}

Elimination Tactics Degree: {{ pair.english.elim_tactics_degree }}

Current Relevance: {{ pair.english.current_relevance }}

Current Relevance Topic: {{ pair.english.current_relevance_topic }}

Created At: {{ pair.english.created_at|date:"Y-m-d H:i" }}

Created By: {{ pair.english.created_by }}

{% endif %}
{% if pair.english %}

Area(s): {% for a in pair.english.area_name.all %}{{ a.name }}{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}

Section(s): {% for s in pair.english.section_name.all %}{{ s.name }}{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}

Part(s): {% for p in pair.english.part_name.all %}{{ p.name }}{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}

Chapter(s): {% for c in pair.english.chapter_name.all %}{{ c.name }}{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}

Topic(s): {% for t in pair.english.topic_name.all %}{{ t.name }}{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}

Sub-topic(s): {% for st in pair.english.subtopic_name.all %}{{ st.name }}{% if not forloop.last %}, {% endif %}{% empty %}None{% endfor %}

{% endif %}
{% endfor %}
{% else %}

No related questions found for the selected filters.

{% endif %}

Lecture Notes Library

{% if related_notes %} {% else %}

No related notes found for this chapter.

{% endif %}

🎥 Videos Lecture Library

Additional Information
{% if question.created_by %}

Posted by: {{ question.created_by.get_full_name|default:question.created_by.email }}

{% endif %}

Posted on: {{ question.created_at|date:"F j, Y" }}


{% if question.current_relevance %}

Current Relevance: {% if question.current_relevance == '0' %} Not Relevant {% elif question.current_relevance == '1' %} Moderately Relevant {% elif question.current_relevance == '2' %} Very Relevant {% else %} {{ question.current_relevance }} {% endif %}

{% endif %} {% if question.current_relevance_topic %}

Relevance Topic: {{ question.current_relevance_topic }}

{% endif %}

Exam: {% if question.exams.exists %} {{ question.exams.all|join:", " }} {% else %} No Exam specified. {% endif %}
Area: {% if question.area_name.exists %} {{ question.area_name.all|join:", " }} {% else %} No Area specified. {% endif %}
{% if question.part_name.exists %} Part: {{ question.part_name.all|join:", " }}
{% endif %} {% if question.chapter_name.exists %} Chapter: {{ question.chapter_name.all|join:", " }}
{% endif %} {% if question.topic_name.exists %} Topic: {{ question.topic_name.all|join:", " }}
{% endif %} {% if question.subtopic_name.exists %} Sub-Topic: {{ question.subtopic_name.all|join:", " }}
{% endif %} Sub-Topic Short Code: {% for subtopic in question.subtopic_name.all %} {{ subtopic.sub_topic_short_Code }}{% if not forloop.last %}, {% endif %} {% endfor %}
{% if question.credit_or_courtesy %} Credit/Courtesy: {{ question.credit_or_courtesy }}
{% endif %}


{% if question.other_text %}

{{ question.other_text }}

{% endif %}

#Tags

{% if question.hashtags.exists %} {% for hashtag in question.hashtags.all %} {% if hashtag.hashtags_SI_Number %} #{{ hashtag.name }} {% else %} #{{ hashtag.name }} {% endif %} {% if not forloop.last %} {% endif %} {% endfor %} {% else %} No hashtags tagged for this suggestion. {% endif %}


{% endblock %}