HH/survey_template_error.html
2026-01-24 15:27:30 +03:00

5680 lines
312 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>TemplateSyntaxError
at /surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/</title>
<style>
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font-family: sans-serif; background-color:#fff; color:#000; }
body > :where(header, main, footer) { border-bottom:1px solid #ddd; }
h1 { font-weight:normal; }
h2 { margin-bottom:.8em; }
h3 { margin:1em 0 .5em 0; }
h4 { margin:0 0 .5em 0; font-weight: normal; }
code, pre { font-size: 100%; white-space: pre-wrap; word-break: break-word; }
summary { cursor: pointer; }
table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
tbody td, tbody th { vertical-align:top; padding:2px 3px; }
thead th {
padding:1px 6px 1px 3px; background:#fefefe; text-align:left;
font-weight:normal; font-size: 0.6875rem; border:1px solid #ddd;
}
tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
table.vars { margin:5px 10px 2px 40px; width: auto; }
table.vars td, table.req td { font-family:monospace; }
table td.code { width:100%; }
table td.code pre { overflow:hidden; }
table.source th { color:#666; }
table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
ul.traceback { list-style-type:none; color: #222; }
ul.traceback li.cause { word-break: break-word; }
ul.traceback li.frame { padding-bottom:1em; color:#4f4f4f; }
ul.traceback li.user { background-color:#e0e0e0; color:#000 }
div.context { padding:10px 0; overflow:hidden; }
div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; }
div.context ol li pre { display:inline; }
div.context ol.context-line li { color:#464646; background-color:#dfdfdf; padding: 3px 2px; }
div.context ol.context-line li span { position:absolute; right:32px; }
.user div.context ol.context-line li { background-color:#bbb; color:#000; }
.user div.context ol li { color:#666; }
div.commands, summary.commands { margin-left: 40px; }
div.commands a, summary.commands { color:#555; text-decoration:none; }
.user div.commands a { color: black; }
#summary { background: #ffc; }
#summary h2 { font-weight: normal; color: #666; }
#info { padding: 0; }
#info > * { padding:10px 20px; }
#explanation { background:#eee; }
#template, #template-not-exist { background:#f6f6f6; }
#template-not-exist ul { margin: 0 0 10px 20px; }
#template-not-exist .postmortem-section { margin-bottom: 3px; }
#unicode-hint { background:#eee; }
#traceback { background:#eee; }
#requestinfo { background:#f6f6f6; padding-left:120px; }
#summary table { border:none; background:transparent; }
#requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; }
#requestinfo h3 { margin-bottom:-1em; }
.error { background: #ffc; }
.specific { color:#cc3300; font-weight:bold; }
h2 span.commands { font-size: 0.7rem; font-weight:normal; }
span.commands a:link {color:#5E5694;}
pre.exception_value { font-family: sans-serif; color: #575757; font-size: 1.5rem; margin: 10px 0 10px 0; }
.append-bottom { margin-bottom: 10px; }
.fname { user-select: all; }
</style>
<script>
function hideAll(elems) {
for (var e = 0; e < elems.length; e++) {
elems[e].style.display = 'none';
}
}
window.onload = function() {
hideAll(document.querySelectorAll('ol.pre-context'));
hideAll(document.querySelectorAll('ol.post-context'));
hideAll(document.querySelectorAll('div.pastebin'));
}
function toggle() {
for (var i = 0; i < arguments.length; i++) {
var e = document.getElementById(arguments[i]);
if (e) {
e.style.display = e.style.display == 'none' ? 'block': 'none';
}
}
return false;
}
function switchPastebinFriendly(link) {
s1 = "Switch to copy-and-paste view";
s2 = "Switch back to interactive view";
link.textContent = link.textContent.trim() == s1 ? s2: s1;
toggle('browserTraceback', 'pastebinTraceback');
return false;
}
</script>
</head>
<body>
<header id="summary">
<h1>TemplateSyntaxError
at /surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/</h1>
<pre class="exception_value">Invalid filter: &#x27;split&#x27;</pre>
<table class="meta">
<tr>
<th scope="row">Request Method:</th>
<td>GET</td>
</tr>
<tr>
<th scope="row">Request URL:</th>
<td>http://localhost:8000/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/</td>
</tr>
<tr>
<th scope="row">Django Version:</th>
<td>6.0.1</td>
</tr>
<tr>
<th scope="row">Exception Type:</th>
<td>TemplateSyntaxError</td>
</tr>
<tr>
<th scope="row">Exception Value:</th>
<td><pre>Invalid filter: &#x27;split&#x27;</pre></td>
</tr>
<tr>
<th scope="row">Exception Location:</th>
<td><span class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</span>, line 682, in find_filter</td>
</tr>
<tr>
<th scope="row">Raised during:</th>
<td>apps.surveys.public_views.survey_form</td>
</tr>
<tr>
<th scope="row">Python Executable:</th>
<td>/home/ismail/projects/HH/.venv/bin/python3</td>
</tr>
<tr>
<th scope="row">Python Version:</th>
<td>3.12.3</td>
</tr>
<tr>
<th scope="row">Python Path:</th>
<td><pre><code>[&#x27;/home/ismail/projects/HH&#x27;,
&#x27;/home/ismail/projects/HH&#x27;,
&#x27;/usr/lib/python312.zip&#x27;,
&#x27;/usr/lib/python3.12&#x27;,
&#x27;/usr/lib/python3.12/lib-dynload&#x27;,
&#x27;/home/ismail/projects/HH/.venv/lib/python3.12/site-packages&#x27;,
&#x27;__editable__.px360-0.1.0.finder.__path_hook__&#x27;]</code></pre></td>
</tr>
<tr>
<th scope="row">Server time:</th>
<td>Tue, 20 Jan 2026 18:03:50 +0300</td>
</tr>
</table>
</header>
<main id="info">
<div id="template">
<h2>Error during template rendering</h2>
<p>In template <code>/home/ismail/projects/HH/templates/surveys/public_form.html</code>, error at line <strong>451</strong></p>
<h3>Invalid filter: &#x27;split&#x27;</h3>
<table class="source cut-top
cut-bottom">
<tr><th scope="row">441</th>
<td> &lt;span&gt;
</td></tr>
<tr><th scope="row">442</th>
<td> {% if language == &#x27;ar&#x27; %}محتمل جداً{% else %}Extremely likely{% endif %}
</td></tr>
<tr><th scope="row">443</th>
<td> &lt;/span&gt;
</td></tr>
<tr><th scope="row">444</th>
<td> &lt;/div&gt;
</td></tr>
<tr><th scope="row">445</th>
<td> &lt;input type=&quot;hidden&quot; name=&quot;question_{{ question.id }}&quot; id=&quot;question_{{ question.id }}&quot;
</td></tr>
<tr><th scope="row">446</th>
<td> {% if question.is_required %}required{% endif %}&gt;
</td></tr>
<tr><th scope="row">447</th>
<td>
</td></tr>
<tr><th scope="row">448</th>
<td> &lt;!-- Likert Scale --&gt;
</td></tr>
<tr><th scope="row">449</th>
<td> {% elif question.question_type == &#x27;likert&#x27; %}
</td></tr>
<tr><th scope="row">450</th>
<td> &lt;div class=&quot;likert-scale&quot;&gt;
</td></tr>
<tr class="error"><th scope="row">451</th>
<td> <span class="specific">{% for value, label in &quot;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree&quot;|split:&quot;,&quot; %}</span>
</td>
</tr>
<tr><th scope="row">452</th>
<td> {% with parts=label|split:&quot;:&quot; %}
</td></tr>
<tr><th scope="row">453</th>
<td> &lt;label class=&quot;likert-option&quot;&gt;
</td></tr>
<tr><th scope="row">454</th>
<td> &lt;input type=&quot;radio&quot; name=&quot;question_{{ question.id }}&quot; value=&quot;{{ parts.0 }}&quot;
</td></tr>
<tr><th scope="row">455</th>
<td> {% if question.is_required %}required{% endif %}
</td></tr>
<tr><th scope="row">456</th>
<td> onchange=&quot;selectLikert(this)&quot;&gt;
</td></tr>
<tr><th scope="row">457</th>
<td> &lt;span&gt;{{ parts.1 }}&lt;/span&gt;
</td></tr>
<tr><th scope="row">458</th>
<td> &lt;/label&gt;
</td></tr>
<tr><th scope="row">459</th>
<td> {% endwith %}
</td></tr>
<tr><th scope="row">460</th>
<td> {% endfor %}
</td></tr>
<tr><th scope="row">461</th>
<td> &lt;/div&gt;
</td></tr>
</table>
</div>
<div id="traceback">
<h2>Traceback <span class="commands"><a href="#" role="button" onclick="return switchPastebinFriendly(this);">
Switch to copy-and-paste view</a></span>
</h2>
<div id="browserTraceback">
<ul class="traceback">
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py</code>, line 55, in inner
<div class="context" id="c126073041794752">
<ol start="48" class="pre-context" id="pre126073041794752">
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre></pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> return inner</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> else:</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre></pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> @wraps(get_response)</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> def inner(request):</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> try:</pre></li>
</ol>
<ol start="55" class="context-line">
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='56' class="post-context" id="post126073041794752">
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> except Exception as exc:</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> response = response_for_exception(request, exc)</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> return response</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre></pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre> return inner</pre></li>
<li onclick="toggle('pre126073041794752', 'post126073041794752')"><pre></pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041794752">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>exc</td>
<td class="code"><pre>TemplateSyntaxError(&quot;Template: /home/ismail/projects/HH/templates/surveys/public_form.html, Invalid filter: &#x27;split&#x27;&quot;)</pre></td>
</tr>
<tr>
<td>get_response</td>
<td class="code"><pre>&lt;bound method BaseHandler._get_response of &lt;django.core.handlers.wsgi.WSGIHandler object at 0x72a9b4a4b440&gt;&gt;</pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>&lt;WSGIRequest: GET &#x27;/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/&#x27;&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/core/handlers/base.py</code>, line 198, in _get_response
<div class="context" id="c126073041784896">
<ol start="191" class="pre-context" id="pre126073041784896">
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre></pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> if response is None:</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> # If it is an asynchronous view, run it in a subthread.</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> if iscoroutinefunction(wrapped_callback):</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> wrapped_callback = async_to_sync(wrapped_callback)</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> try:</pre></li>
</ol>
<ol start="198" class="context-line">
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='199' class="post-context" id="post126073041784896">
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> except Exception as e:</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> response = self.process_exception_by_middleware(e, request)</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> if response is None:</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> raise</pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre></pre></li>
<li onclick="toggle('pre126073041784896', 'post126073041784896')"><pre> # Complain if the view returned None (a common error).</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041784896">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>callback</td>
<td class="code"><pre>&lt;function survey_form at 0x72a9b052dee0&gt;</pre></td>
</tr>
<tr>
<td>callback_args</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>callback_kwargs</td>
<td class="code"><pre>{&#x27;token&#x27;: &#x27;H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y&#x27;}</pre></td>
</tr>
<tr>
<td>middleware_method</td>
<td class="code"><pre>&lt;bound method CsrfViewMiddleware.process_view of &lt;CsrfViewMiddleware get_response=convert_exception_to_response.&lt;locals&gt;.inner&gt;&gt;</pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>&lt;WSGIRequest: GET &#x27;/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/&#x27;&gt;</pre></td>
</tr>
<tr>
<td>response</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;django.core.handlers.wsgi.WSGIHandler object at 0x72a9b4a4b440&gt;</pre></td>
</tr>
<tr>
<td>wrapped_callback</td>
<td class="code"><pre>&lt;function survey_form at 0x72a9b052dee0&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/views/decorators/http.py</code>, line 64, in inner
<div class="context" id="c126073041789760">
<ol start="57" class="pre-context" id="pre126073041789760">
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> &quot;Method Not Allowed (%s): %s&quot;,</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> request.method,</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> request.path,</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> response=response,</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> request=request,</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> )</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> return response</pre></li>
</ol>
<ol start="64" class="context-line">
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> return func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='65' class="post-context" id="post126073041789760">
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre></pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> return inner</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre></pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre> return decorator</pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre></pre></li>
<li onclick="toggle('pre126073041789760', 'post126073041789760')"><pre></pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041789760">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>args</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>func</td>
<td class="code"><pre>&lt;function survey_form at 0x72a9b052de40&gt;</pre></td>
</tr>
<tr>
<td>kwargs</td>
<td class="code"><pre>{&#x27;token&#x27;: &#x27;H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y&#x27;}</pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>&lt;WSGIRequest: GET &#x27;/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/&#x27;&gt;</pre></td>
</tr>
<tr>
<td>request_method_list</td>
<td class="code"><pre>[&#x27;GET&#x27;, &#x27;POST&#x27;]</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame user">
<code class="fname">/home/ismail/projects/HH/apps/surveys/public_views.py</code>, line 189, in survey_form
<div class="context" id="c126073041789888">
<ol start="182" class="pre-context" id="pre126073041789888">
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> context = {</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> &#x27;survey&#x27;: survey,</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> &#x27;questions&#x27;: questions,</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> &#x27;language&#x27;: language,</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> &#x27;total_questions&#x27;: questions.count(),</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> }</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> </pre></li>
</ol>
<ol start="189" class="context-line">
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> return render(request, &#x27;surveys/public_form.html&#x27;, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='190' class="post-context" id="post126073041789888">
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre></pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre></pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre>def thank_you(request, token):</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> &quot;&quot;&quot;Thank you page after survey completion&quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041789888', 'post126073041789888')"><pre> survey = SurveyInstance.objects.select_related(</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041789888">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>context</td>
<td class="code"><pre>{&#x27;language&#x27;: &#x27;en&#x27;,
&#x27;questions&#x27;: &lt;QuerySet [&lt;SurveyQuestion: OPD Experience Survey - Q1: How satisfied were you with the registration proce&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q2: How long did you wait to see the doctor?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q3: Did the doctor listen to your concerns?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q4: Did the doctor explain your diagnosis and treatmen&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q5: How satisfied were you with the lab services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q6: How satisfied were you with the pharmacy services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q7: How would you rate your overall visit experience?&gt;]&gt;,
&#x27;survey&#x27;: &lt;SurveyInstance: OPD Experience Survey - Full Journey&gt;,
&#x27;total_questions&#x27;: 7}</pre></td>
</tr>
<tr>
<td>language</td>
<td class="code"><pre>&#x27;en&#x27;</pre></td>
</tr>
<tr>
<td>questions</td>
<td class="code"><pre>&lt;QuerySet [&lt;SurveyQuestion: OPD Experience Survey - Q1: How satisfied were you with the registration proce&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q2: How long did you wait to see the doctor?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q3: Did the doctor listen to your concerns?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q4: Did the doctor explain your diagnosis and treatmen&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q5: How satisfied were you with the lab services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q6: How satisfied were you with the pharmacy services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q7: How would you rate your overall visit experience?&gt;]&gt;</pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>&lt;WSGIRequest: GET &#x27;/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/&#x27;&gt;</pre></td>
</tr>
<tr>
<td>survey</td>
<td class="code"><pre>&lt;SurveyInstance: OPD Experience Survey - Full Journey&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&#x27;H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/shortcuts.py</code>, line 25, in render
<div class="context" id="c126073041789184">
<ol start="18" class="pre-context" id="pre126073041789184">
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre>def render(</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> request, template_name, context=None, content_type=None, status=None, using=None</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre>):</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> &quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> Return an HttpResponse whose content is filled with the result of calling</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> django.template.loader.render_to_string() with the passed arguments.</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> &quot;&quot;&quot;</pre></li>
</ol>
<ol start="25" class="context-line">
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> content = loader.render_to_string(template_name, context, request, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='26' class="post-context" id="post126073041789184">
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> return HttpResponse(content, content_type, status)</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre></pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre></pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre>def redirect(to, *args, permanent=False, preserve_request=False, **kwargs):</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> &quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041789184', 'post126073041789184')"><pre> Return an HttpResponseRedirect to the appropriate URL for the arguments</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041789184">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>content_type</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>context</td>
<td class="code"><pre>{&#x27;language&#x27;: &#x27;en&#x27;,
&#x27;questions&#x27;: &lt;QuerySet [&lt;SurveyQuestion: OPD Experience Survey - Q1: How satisfied were you with the registration proce&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q2: How long did you wait to see the doctor?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q3: Did the doctor listen to your concerns?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q4: Did the doctor explain your diagnosis and treatmen&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q5: How satisfied were you with the lab services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q6: How satisfied were you with the pharmacy services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q7: How would you rate your overall visit experience?&gt;]&gt;,
&#x27;survey&#x27;: &lt;SurveyInstance: OPD Experience Survey - Full Journey&gt;,
&#x27;total_questions&#x27;: 7}</pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>&lt;WSGIRequest: GET &#x27;/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/&#x27;&gt;</pre></td>
</tr>
<tr>
<td>status</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>template_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>using</td>
<td class="code"><pre>None</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loader.py</code>, line 61, in render_to_string
<div class="context" id="c126073041785280">
<ol start="54" class="pre-context" id="pre126073041785280">
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> Load a template and render it with a context. Return a string.</pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre></pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> template_name may be a string or a list of strings.</pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> &quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> if isinstance(template_name, (list, tuple)):</pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> template = select_template(template_name, using=using)</pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> else:</pre></li>
</ol>
<ol start="61" class="context-line">
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> template = get_template(template_name, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='62' class="post-context" id="post126073041785280">
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> return template.render(context, request)</pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre></pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre></pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre>def _engine_list(using=None):</pre></li>
<li onclick="toggle('pre126073041785280', 'post126073041785280')"><pre> return engines.all() if using is None else [engines[using]]</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041785280">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>context</td>
<td class="code"><pre>{&#x27;language&#x27;: &#x27;en&#x27;,
&#x27;questions&#x27;: &lt;QuerySet [&lt;SurveyQuestion: OPD Experience Survey - Q1: How satisfied were you with the registration proce&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q2: How long did you wait to see the doctor?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q3: Did the doctor listen to your concerns?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q4: Did the doctor explain your diagnosis and treatmen&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q5: How satisfied were you with the lab services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q6: How satisfied were you with the pharmacy services?&gt;, &lt;SurveyQuestion: OPD Experience Survey - Q7: How would you rate your overall visit experience?&gt;]&gt;,
&#x27;survey&#x27;: &lt;SurveyInstance: OPD Experience Survey - Full Journey&gt;,
&#x27;total_questions&#x27;: 7}</pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre>&lt;WSGIRequest: GET &#x27;/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/&#x27;&gt;</pre></td>
</tr>
<tr>
<td>template_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>using</td>
<td class="code"><pre>None</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loader.py</code>, line 15, in get_template
<div class="context" id="c126073041788928">
<ol start="8" class="pre-context" id="pre126073041788928">
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre></pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> Raise TemplateDoesNotExist if no such template exists.</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> &quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> chain = []</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> engines = _engine_list(using)</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> for engine in engines:</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> try:</pre></li>
</ol>
<ol start="15" class="context-line">
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='16' class="post-context" id="post126073041788928">
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> except TemplateDoesNotExist as e:</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> chain.append(e)</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre></pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre> raise TemplateDoesNotExist(template_name, chain=chain)</pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre></pre></li>
<li onclick="toggle('pre126073041788928', 'post126073041788928')"><pre></pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041788928">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>chain</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>engine</td>
<td class="code"><pre>&lt;django.template.backends.django.DjangoTemplates object at 0x72a9b351a120&gt;</pre></td>
</tr>
<tr>
<td>engines</td>
<td class="code"><pre>[&lt;django.template.backends.django.DjangoTemplates object at 0x72a9b351a120&gt;]</pre></td>
</tr>
<tr>
<td>template_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>using</td>
<td class="code"><pre>None</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/backends/django.py</code>, line 79, in get_template
<div class="context" id="c126073041790016">
<ol start="72" class="pre-context" id="pre126073041790016">
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> return errors</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre></pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> def from_string(self, template_code):</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> return Template(self.engine.from_string(template_code), self)</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre></pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> def get_template(self, template_name):</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> try:</pre></li>
</ol>
<ol start="79" class="context-line">
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='80' class="post-context" id="post126073041790016">
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> except TemplateDoesNotExist as exc:</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> reraise(exc, self)</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre></pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> def get_templatetag_libraries(self, custom_libraries):</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> &quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041790016', 'post126073041790016')"><pre> Return a collation of template tag libraries from installed</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041790016">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre>&lt;django.template.backends.django.DjangoTemplates object at 0x72a9b351a120&gt;</pre></td>
</tr>
<tr>
<td>template_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/engine.py</code>, line 186, in get_template
<div class="context" id="c126073041783360">
<ol start="179" class="pre-context" id="pre126073041783360">
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> template_name, _, partial_name = template_name.partition(&quot;#&quot;)</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> except AttributeError:</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> raise TemplateDoesNotExist(original_name)</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre></pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> if not template_name:</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> raise TemplateDoesNotExist(original_name)</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre></pre></li>
</ol>
<ol start="186" class="context-line">
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='187' class="post-context" id="post126073041783360">
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> if not hasattr(template, &quot;render&quot;):</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> # template needs to be compiled</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> template = Template(template, origin, template_name, engine=self)</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre></pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> if not partial_name:</pre></li>
<li onclick="toggle('pre126073041783360', 'post126073041783360')"><pre> return template</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041783360">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>_</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>original_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>partial_name</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Engine: dirs=[PosixPath(&#x27;/home/ismail/projects/HH/templates&#x27;)] app_dirs=True context_processors=[&#x27;django.template.context_processors.debug&#x27;, &#x27;django.template.context_processors.request&#x27;, &#x27;django.contrib.auth.context_processors.auth&#x27;, &#x27;django.contrib.messages.context_processors.messages&#x27;, &#x27;django.template.context_processors.i18n&#x27;, &#x27;apps.core.context_processors.sidebar_counts&#x27;, &#x27;apps.core.context_processors.hospital_context&#x27;] debug=True loaders=[(&#x27;django.template.loaders.cached.Loader&#x27;, [&#x27;django.template.loaders.filesystem.Loader&#x27;, &#x27;django.template.loaders.app_directories.Loader&#x27;])] string_if_invalid=&#x27;&#x27; file_charset=&#x27;utf-8&#x27; libraries={&#x27;cache&#x27;: &#x27;django.templatetags.cache&#x27;, &#x27;i18n&#x27;: &#x27;django.templatetags.i18n&#x27;, &#x27;l10n&#x27;: &#x27;django.templatetags.l10n&#x27;, &#x27;static&#x27;: &#x27;django.templatetags.static&#x27;, &#x27;tz&#x27;: &#x27;django.templatetags.tz&#x27;, &#x27;admin_list&#x27;: &#x27;django.contrib.admin.templatetags.admin_list&#x27;, &#x27;admin_modify&#x27;: &#x27;django.contrib.admin.templatetags.admin_modify&#x27;, &#x27;admin_urls&#x27;: &#x27;django.contrib.admin.templatetags.admin_urls&#x27;, &#x27;log&#x27;: &#x27;django.contrib.admin.templatetags.log&#x27;, &#x27;auth&#x27;: &#x27;django.contrib.auth.templatetags.auth&#x27;, &#x27;rest_framework&#x27;: &#x27;rest_framework.templatetags.rest_framework&#x27;, &#x27;hospital_filters&#x27;: &#x27;apps.core.templatetags.hospital_filters&#x27;, &#x27;math&#x27;: &#x27;apps.complaints.templatetags.math&#x27;, &#x27;action_icons&#x27;: &#x27;apps.social.templatetags.action_icons&#x27;, &#x27;social_filters&#x27;: &#x27;apps.social.templatetags.social_filters&#x27;, &#x27;social_icons&#x27;: &#x27;apps.social.templatetags.social_icons&#x27;, &#x27;star_rating&#x27;: &#x27;apps.social.templatetags.star_rating&#x27;, &#x27;sentiment_tags&#x27;: &#x27;apps.ai_engine.templatetags.sentiment_tags&#x27;, &#x27;standards_filters&#x27;: &#x27;apps.standards.templatetags.standards_filters&#x27;, &#x27;debugger_tags&#x27;: &#x27;django_extensions.templatetags.debugger_tags&#x27;, &#x27;highlighting&#x27;: &#x27;django_extensions.templatetags.highlighting&#x27;, &#x27;indent_text&#x27;: &#x27;django_extensions.templatetags.indent_text&#x27;, &#x27;syntax_color&#x27;: &#x27;django_extensions.templatetags.syntax_color&#x27;, &#x27;widont&#x27;: &#x27;django_extensions.templatetags.widont&#x27;} builtins=[&#x27;django.template.defaulttags&#x27;, &#x27;django.template.defaultfilters&#x27;, &#x27;django.template.loader_tags&#x27;] autoescape=True&gt;</pre></td>
</tr>
<tr>
<td>template_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/engine.py</code>, line 159, in find_template
<div class="context" id="c126073041781760">
<ol start="152" class="pre-context" id="pre126073041781760">
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> &quot;Invalid value in template loaders configuration: %r&quot; % loader</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> )</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre></pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> def find_template(self, name, dirs=None, skip=None):</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> tried = []</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> for loader in self.template_loaders:</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> try:</pre></li>
</ol>
<ol start="159" class="context-line">
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='160' class="post-context" id="post126073041781760">
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> return template, template.origin</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> except TemplateDoesNotExist as e:</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> tried.extend(e.tried)</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> raise TemplateDoesNotExist(name, tried=tried)</pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre></pre></li>
<li onclick="toggle('pre126073041781760', 'post126073041781760')"><pre> def from_string(self, template_code):</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041781760">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>dirs</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>loader</td>
<td class="code"><pre>&lt;django.template.loaders.cached.Loader object at 0x72a9b002d190&gt;</pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Engine: dirs=[PosixPath(&#x27;/home/ismail/projects/HH/templates&#x27;)] app_dirs=True context_processors=[&#x27;django.template.context_processors.debug&#x27;, &#x27;django.template.context_processors.request&#x27;, &#x27;django.contrib.auth.context_processors.auth&#x27;, &#x27;django.contrib.messages.context_processors.messages&#x27;, &#x27;django.template.context_processors.i18n&#x27;, &#x27;apps.core.context_processors.sidebar_counts&#x27;, &#x27;apps.core.context_processors.hospital_context&#x27;] debug=True loaders=[(&#x27;django.template.loaders.cached.Loader&#x27;, [&#x27;django.template.loaders.filesystem.Loader&#x27;, &#x27;django.template.loaders.app_directories.Loader&#x27;])] string_if_invalid=&#x27;&#x27; file_charset=&#x27;utf-8&#x27; libraries={&#x27;cache&#x27;: &#x27;django.templatetags.cache&#x27;, &#x27;i18n&#x27;: &#x27;django.templatetags.i18n&#x27;, &#x27;l10n&#x27;: &#x27;django.templatetags.l10n&#x27;, &#x27;static&#x27;: &#x27;django.templatetags.static&#x27;, &#x27;tz&#x27;: &#x27;django.templatetags.tz&#x27;, &#x27;admin_list&#x27;: &#x27;django.contrib.admin.templatetags.admin_list&#x27;, &#x27;admin_modify&#x27;: &#x27;django.contrib.admin.templatetags.admin_modify&#x27;, &#x27;admin_urls&#x27;: &#x27;django.contrib.admin.templatetags.admin_urls&#x27;, &#x27;log&#x27;: &#x27;django.contrib.admin.templatetags.log&#x27;, &#x27;auth&#x27;: &#x27;django.contrib.auth.templatetags.auth&#x27;, &#x27;rest_framework&#x27;: &#x27;rest_framework.templatetags.rest_framework&#x27;, &#x27;hospital_filters&#x27;: &#x27;apps.core.templatetags.hospital_filters&#x27;, &#x27;math&#x27;: &#x27;apps.complaints.templatetags.math&#x27;, &#x27;action_icons&#x27;: &#x27;apps.social.templatetags.action_icons&#x27;, &#x27;social_filters&#x27;: &#x27;apps.social.templatetags.social_filters&#x27;, &#x27;social_icons&#x27;: &#x27;apps.social.templatetags.social_icons&#x27;, &#x27;star_rating&#x27;: &#x27;apps.social.templatetags.star_rating&#x27;, &#x27;sentiment_tags&#x27;: &#x27;apps.ai_engine.templatetags.sentiment_tags&#x27;, &#x27;standards_filters&#x27;: &#x27;apps.standards.templatetags.standards_filters&#x27;, &#x27;debugger_tags&#x27;: &#x27;django_extensions.templatetags.debugger_tags&#x27;, &#x27;highlighting&#x27;: &#x27;django_extensions.templatetags.highlighting&#x27;, &#x27;indent_text&#x27;: &#x27;django_extensions.templatetags.indent_text&#x27;, &#x27;syntax_color&#x27;: &#x27;django_extensions.templatetags.syntax_color&#x27;, &#x27;widont&#x27;: &#x27;django_extensions.templatetags.widont&#x27;} builtins=[&#x27;django.template.defaulttags&#x27;, &#x27;django.template.defaultfilters&#x27;, &#x27;django.template.loader_tags&#x27;] autoescape=True&gt;</pre></td>
</tr>
<tr>
<td>skip</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>tried</td>
<td class="code"><pre>[]</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py</code>, line 57, in get_template
<div class="context" id="c126073041793536">
<ol start="50" class="pre-context" id="pre126073041793536">
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> if isinstance(cached, type) and issubclass(cached, TemplateDoesNotExist):</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> raise cached(template_name)</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> elif isinstance(cached, TemplateDoesNotExist):</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> raise copy_exception(cached)</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> return cached</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre></pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> try:</pre></li>
</ol>
<ol start="57" class="context-line">
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='58' class="post-context" id="post126073041793536">
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> except TemplateDoesNotExist as e:</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> self.get_template_cache[key] = (</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> copy_exception(e) if self.engine.debug else TemplateDoesNotExist</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> )</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> raise</pre></li>
<li onclick="toggle('pre126073041793536', 'post126073041793536')"><pre> else:</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041793536">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>__class__</td>
<td class="code"><pre>&lt;class &#x27;django.template.loaders.cached.Loader&#x27;&gt;</pre></td>
</tr>
<tr>
<td>cached</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>key</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;django.template.loaders.cached.Loader object at 0x72a9b002d190&gt;</pre></td>
</tr>
<tr>
<td>skip</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>template_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loaders/base.py</code>, line 28, in get_template
<div class="context" id="c126073041795264">
<ol start="21" class="pre-context" id="pre126073041795264">
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre></pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> contents = self.get_contents(origin)</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> except TemplateDoesNotExist:</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> tried.append((origin, &quot;Source does not exist&quot;))</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> continue</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> else:</pre></li>
</ol>
<ol start="28" class="context-line">
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> return Template(
</pre> <span></span></li>
</ol>
<ol start='29' class="post-context" id="post126073041795264">
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> contents,</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> origin,</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> origin.template_name,</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> self.engine,</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre> )</pre></li>
<li onclick="toggle('pre126073041795264', 'post126073041795264')"><pre></pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041795264">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>contents</td>
<td class="code"><pre>(&#x27;{% load i18n %}\n&#x27;
&#x27;&lt;!DOCTYPE html&gt;\n&#x27;
&#x27;&lt;html lang=&quot;{{ language }}&quot; dir=&quot;{% if language == \&#x27;ar\&#x27; %}rtl{% else &#x27;
&#x27;%}ltr{% endif %}&quot;&gt;\n&#x27;
&#x27;&lt;head&gt;\n&#x27;
&#x27; &lt;meta charset=&quot;UTF-8&quot;&gt;\n&#x27;
&#x27; &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, &#x27;
&#x27;maximum-scale=1.0, user-scalable=no&quot;&gt;\n&#x27;
&quot; &lt;title&gt;{% if language == &#x27;ar&#x27; %}استبيان رضا المرضى{% else %}Patient &quot;
&#x27;Satisfaction Survey{% endif %} - PX360&lt;/title&gt;\n&#x27;
&#x27; \n&#x27;
&#x27; &lt;!-- Bootstrap 5 CSS --&gt;\n&#x27;
&#x27; &lt;link &#x27;
&#x27;href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap{% if &#x27;
&#x27;language == \&#x27;ar\&#x27; %}.rtl{% endif %}.min.css&quot; rel=&quot;stylesheet&quot;&gt;\n&#x27;
&#x27; &lt;!-- Bootstrap Icons --&gt;\n&#x27;
&#x27; &lt;link &#x27;
&#x27;href=&quot;https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css&quot; &#x27;
&#x27;rel=&quot;stylesheet&quot;&gt;\n&#x27;
&#x27; \n&#x27;
&#x27; &lt;style&gt;\n&#x27;
&#x27; :root {\n&#x27;
&#x27; --primary-color: #667eea;\n&#x27;
&#x27; --secondary-color: #764ba2;\n&#x27;
&#x27; --success-color: #4caf50;\n&#x27;
&#x27; --warning-color: #ff9800;\n&#x27;
&#x27; --danger-color: #f44336;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; body {\n&#x27;
&#x27; background: linear-gradient(135deg, var(--primary-color) 0%, &#x27;
&#x27;var(--secondary-color) 100%);\n&#x27;
&#x27; min-height: 100vh;\n&#x27;
&quot; font-family: -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, &quot;
&quot;Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif;\n&quot;
&quot; {% if language == &#x27;ar&#x27; %}\n&quot;
&quot; font-family: &#x27;Segoe UI&#x27;, Tahoma, Geneva, Verdana, sans-serif;\n&quot;
&#x27; {% endif %}\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-container {\n&#x27;
&#x27; max-width: 600px;\n&#x27;
&#x27; margin: 20px auto;\n&#x27;
&#x27; padding: 0 15px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-card {\n&#x27;
&#x27; background: white;\n&#x27;
&#x27; border-radius: 20px;\n&#x27;
&#x27; box-shadow: 0 10px 40px rgba(0,0,0,0.2);\n&#x27;
&#x27; overflow: hidden;\n&#x27;
&#x27; margin-bottom: 20px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-header {\n&#x27;
&#x27; background: linear-gradient(135deg, var(--primary-color) 0%, &#x27;
&#x27;var(--secondary-color) 100%);\n&#x27;
&#x27; color: white;\n&#x27;
&#x27; padding: 30px 20px;\n&#x27;
&#x27; text-align: center;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-header h1 {\n&#x27;
&#x27; font-size: 1.5rem;\n&#x27;
&#x27; font-weight: 600;\n&#x27;
&#x27; margin-bottom: 10px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-header p {\n&#x27;
&#x27; font-size: 0.9rem;\n&#x27;
&#x27; opacity: 0.9;\n&#x27;
&#x27; margin-bottom: 0;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .progress-bar-container {\n&#x27;
&#x27; background: rgba(255,255,255,0.2);\n&#x27;
&#x27; height: 8px;\n&#x27;
&#x27; border-radius: 4px;\n&#x27;
&#x27; margin-top: 15px;\n&#x27;
&#x27; overflow: hidden;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .progress-bar-fill {\n&#x27;
&#x27; background: white;\n&#x27;
&#x27; height: 100%;\n&#x27;
&#x27; border-radius: 4px;\n&#x27;
&#x27; transition: width 0.3s ease;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-body {\n&#x27;
&#x27; padding: 30px 20px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-card {\n&#x27;
&#x27; margin-bottom: 30px;\n&#x27;
&#x27; padding-bottom: 30px;\n&#x27;
&#x27; border-bottom: 1px solid #e0e0e0;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-card:last-child {\n&#x27;
&#x27; border-bottom: none;\n&#x27;
&#x27; margin-bottom: 0;\n&#x27;
&#x27; padding-bottom: 0;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-number {\n&#x27;
&#x27; display: inline-block;\n&#x27;
&#x27; background: var(--primary-color);\n&#x27;
&#x27; color: white;\n&#x27;
&#x27; width: 28px;\n&#x27;
&#x27; height: 28px;\n&#x27;
&#x27; border-radius: 50%;\n&#x27;
&#x27; text-align: center;\n&#x27;
&#x27; line-height: 28px;\n&#x27;
&#x27; font-size: 0.85rem;\n&#x27;
&#x27; font-weight: 600;\n&#x27;
&#x27; margin-bottom: 10px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-text {\n&#x27;
&#x27; font-size: 1.1rem;\n&#x27;
&#x27; font-weight: 500;… &lt;trimmed 26615 bytes string&gt;</pre></td>
</tr>
<tr>
<td>origin</td>
<td class="code"><pre>&lt;Origin name=&#x27;/home/ismail/projects/HH/templates/surveys/public_form.html&#x27;&gt;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;django.template.loaders.cached.Loader object at 0x72a9b002d190&gt;</pre></td>
</tr>
<tr>
<td>skip</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>template_name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>tried</td>
<td class="code"><pre>[]</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 157, in __init__
<div class="context" id="c126073041781120">
<ol start="150" class="pre-context" id="pre126073041781120">
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> engine = Engine.get_default()</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> if origin is None:</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> origin = Origin(UNKNOWN_SOURCE)</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> self.name = name</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> self.origin = origin</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> self.engine = engine</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> self.source = str(template_string) # May be lazy.</pre></li>
</ol>
<ol start="157" class="context-line">
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='158' class="post-context" id="post126073041781120">
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre></pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> def __repr__(self):</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> return &#x27;&lt;%s template_string=&quot;%s...&quot;&gt;&#x27; % (</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> self.__class__.__qualname__,</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> self.source[:20].replace(&quot;\n&quot;, &quot;&quot;),</pre></li>
<li onclick="toggle('pre126073041781120', 'post126073041781120')"><pre> )</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041781120">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>engine</td>
<td class="code"><pre>&lt;Engine: dirs=[PosixPath(&#x27;/home/ismail/projects/HH/templates&#x27;)] app_dirs=True context_processors=[&#x27;django.template.context_processors.debug&#x27;, &#x27;django.template.context_processors.request&#x27;, &#x27;django.contrib.auth.context_processors.auth&#x27;, &#x27;django.contrib.messages.context_processors.messages&#x27;, &#x27;django.template.context_processors.i18n&#x27;, &#x27;apps.core.context_processors.sidebar_counts&#x27;, &#x27;apps.core.context_processors.hospital_context&#x27;] debug=True loaders=[(&#x27;django.template.loaders.cached.Loader&#x27;, [&#x27;django.template.loaders.filesystem.Loader&#x27;, &#x27;django.template.loaders.app_directories.Loader&#x27;])] string_if_invalid=&#x27;&#x27; file_charset=&#x27;utf-8&#x27; libraries={&#x27;cache&#x27;: &#x27;django.templatetags.cache&#x27;, &#x27;i18n&#x27;: &#x27;django.templatetags.i18n&#x27;, &#x27;l10n&#x27;: &#x27;django.templatetags.l10n&#x27;, &#x27;static&#x27;: &#x27;django.templatetags.static&#x27;, &#x27;tz&#x27;: &#x27;django.templatetags.tz&#x27;, &#x27;admin_list&#x27;: &#x27;django.contrib.admin.templatetags.admin_list&#x27;, &#x27;admin_modify&#x27;: &#x27;django.contrib.admin.templatetags.admin_modify&#x27;, &#x27;admin_urls&#x27;: &#x27;django.contrib.admin.templatetags.admin_urls&#x27;, &#x27;log&#x27;: &#x27;django.contrib.admin.templatetags.log&#x27;, &#x27;auth&#x27;: &#x27;django.contrib.auth.templatetags.auth&#x27;, &#x27;rest_framework&#x27;: &#x27;rest_framework.templatetags.rest_framework&#x27;, &#x27;hospital_filters&#x27;: &#x27;apps.core.templatetags.hospital_filters&#x27;, &#x27;math&#x27;: &#x27;apps.complaints.templatetags.math&#x27;, &#x27;action_icons&#x27;: &#x27;apps.social.templatetags.action_icons&#x27;, &#x27;social_filters&#x27;: &#x27;apps.social.templatetags.social_filters&#x27;, &#x27;social_icons&#x27;: &#x27;apps.social.templatetags.social_icons&#x27;, &#x27;star_rating&#x27;: &#x27;apps.social.templatetags.star_rating&#x27;, &#x27;sentiment_tags&#x27;: &#x27;apps.ai_engine.templatetags.sentiment_tags&#x27;, &#x27;standards_filters&#x27;: &#x27;apps.standards.templatetags.standards_filters&#x27;, &#x27;debugger_tags&#x27;: &#x27;django_extensions.templatetags.debugger_tags&#x27;, &#x27;highlighting&#x27;: &#x27;django_extensions.templatetags.highlighting&#x27;, &#x27;indent_text&#x27;: &#x27;django_extensions.templatetags.indent_text&#x27;, &#x27;syntax_color&#x27;: &#x27;django_extensions.templatetags.syntax_color&#x27;, &#x27;widont&#x27;: &#x27;django_extensions.templatetags.widont&#x27;} builtins=[&#x27;django.template.defaulttags&#x27;, &#x27;django.template.defaultfilters&#x27;, &#x27;django.template.loader_tags&#x27;] autoescape=True&gt;</pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>&#x27;surveys/public_form.html&#x27;</pre></td>
</tr>
<tr>
<td>origin</td>
<td class="code"><pre>&lt;Origin name=&#x27;/home/ismail/projects/HH/templates/surveys/public_form.html&#x27;&gt;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Template template_string=&quot;{% load i18n %}&lt;!DO...&quot;&gt;</pre></td>
</tr>
<tr>
<td>template_string</td>
<td class="code"><pre>(&#x27;{% load i18n %}\n&#x27;
&#x27;&lt;!DOCTYPE html&gt;\n&#x27;
&#x27;&lt;html lang=&quot;{{ language }}&quot; dir=&quot;{% if language == \&#x27;ar\&#x27; %}rtl{% else &#x27;
&#x27;%}ltr{% endif %}&quot;&gt;\n&#x27;
&#x27;&lt;head&gt;\n&#x27;
&#x27; &lt;meta charset=&quot;UTF-8&quot;&gt;\n&#x27;
&#x27; &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, &#x27;
&#x27;maximum-scale=1.0, user-scalable=no&quot;&gt;\n&#x27;
&quot; &lt;title&gt;{% if language == &#x27;ar&#x27; %}استبيان رضا المرضى{% else %}Patient &quot;
&#x27;Satisfaction Survey{% endif %} - PX360&lt;/title&gt;\n&#x27;
&#x27; \n&#x27;
&#x27; &lt;!-- Bootstrap 5 CSS --&gt;\n&#x27;
&#x27; &lt;link &#x27;
&#x27;href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap{% if &#x27;
&#x27;language == \&#x27;ar\&#x27; %}.rtl{% endif %}.min.css&quot; rel=&quot;stylesheet&quot;&gt;\n&#x27;
&#x27; &lt;!-- Bootstrap Icons --&gt;\n&#x27;
&#x27; &lt;link &#x27;
&#x27;href=&quot;https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css&quot; &#x27;
&#x27;rel=&quot;stylesheet&quot;&gt;\n&#x27;
&#x27; \n&#x27;
&#x27; &lt;style&gt;\n&#x27;
&#x27; :root {\n&#x27;
&#x27; --primary-color: #667eea;\n&#x27;
&#x27; --secondary-color: #764ba2;\n&#x27;
&#x27; --success-color: #4caf50;\n&#x27;
&#x27; --warning-color: #ff9800;\n&#x27;
&#x27; --danger-color: #f44336;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; body {\n&#x27;
&#x27; background: linear-gradient(135deg, var(--primary-color) 0%, &#x27;
&#x27;var(--secondary-color) 100%);\n&#x27;
&#x27; min-height: 100vh;\n&#x27;
&quot; font-family: -apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, &quot;
&quot;Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif;\n&quot;
&quot; {% if language == &#x27;ar&#x27; %}\n&quot;
&quot; font-family: &#x27;Segoe UI&#x27;, Tahoma, Geneva, Verdana, sans-serif;\n&quot;
&#x27; {% endif %}\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-container {\n&#x27;
&#x27; max-width: 600px;\n&#x27;
&#x27; margin: 20px auto;\n&#x27;
&#x27; padding: 0 15px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-card {\n&#x27;
&#x27; background: white;\n&#x27;
&#x27; border-radius: 20px;\n&#x27;
&#x27; box-shadow: 0 10px 40px rgba(0,0,0,0.2);\n&#x27;
&#x27; overflow: hidden;\n&#x27;
&#x27; margin-bottom: 20px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-header {\n&#x27;
&#x27; background: linear-gradient(135deg, var(--primary-color) 0%, &#x27;
&#x27;var(--secondary-color) 100%);\n&#x27;
&#x27; color: white;\n&#x27;
&#x27; padding: 30px 20px;\n&#x27;
&#x27; text-align: center;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-header h1 {\n&#x27;
&#x27; font-size: 1.5rem;\n&#x27;
&#x27; font-weight: 600;\n&#x27;
&#x27; margin-bottom: 10px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-header p {\n&#x27;
&#x27; font-size: 0.9rem;\n&#x27;
&#x27; opacity: 0.9;\n&#x27;
&#x27; margin-bottom: 0;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .progress-bar-container {\n&#x27;
&#x27; background: rgba(255,255,255,0.2);\n&#x27;
&#x27; height: 8px;\n&#x27;
&#x27; border-radius: 4px;\n&#x27;
&#x27; margin-top: 15px;\n&#x27;
&#x27; overflow: hidden;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .progress-bar-fill {\n&#x27;
&#x27; background: white;\n&#x27;
&#x27; height: 100%;\n&#x27;
&#x27; border-radius: 4px;\n&#x27;
&#x27; transition: width 0.3s ease;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .survey-body {\n&#x27;
&#x27; padding: 30px 20px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-card {\n&#x27;
&#x27; margin-bottom: 30px;\n&#x27;
&#x27; padding-bottom: 30px;\n&#x27;
&#x27; border-bottom: 1px solid #e0e0e0;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-card:last-child {\n&#x27;
&#x27; border-bottom: none;\n&#x27;
&#x27; margin-bottom: 0;\n&#x27;
&#x27; padding-bottom: 0;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-number {\n&#x27;
&#x27; display: inline-block;\n&#x27;
&#x27; background: var(--primary-color);\n&#x27;
&#x27; color: white;\n&#x27;
&#x27; width: 28px;\n&#x27;
&#x27; height: 28px;\n&#x27;
&#x27; border-radius: 50%;\n&#x27;
&#x27; text-align: center;\n&#x27;
&#x27; line-height: 28px;\n&#x27;
&#x27; font-size: 0.85rem;\n&#x27;
&#x27; font-weight: 600;\n&#x27;
&#x27; margin-bottom: 10px;\n&#x27;
&#x27; }\n&#x27;
&#x27; \n&#x27;
&#x27; .question-text {\n&#x27;
&#x27; font-size: 1.1rem;\n&#x27;
&#x27; font-weight: 500;… &lt;trimmed 26615 bytes string&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 199, in compile_nodelist
<div class="context" id="c126073041789312">
<ol start="192" class="pre-context" id="pre126073041789312">
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> tokens,</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> self.engine.template_libraries,</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> self.engine.template_builtins,</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> self.origin,</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> )</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre></pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> try:</pre></li>
</ol>
<ol start="199" class="context-line">
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> nodelist = parser.parse()
^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='200' class="post-context" id="post126073041789312">
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> self.extra_data = parser.extra_data</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> return nodelist</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> except Exception as e:</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> if self.engine.debug:</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> e.template_debug = self.get_exception_info(e, e.token)</pre></li>
<li onclick="toggle('pre126073041789312', 'post126073041789312')"><pre> if (</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041789312">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>lexer</td>
<td class="code"><pre>&lt;DebugLexer template_string=&quot;{% load i18n %}&lt;!DO...&quot;, verbatim=False&gt;</pre></td>
</tr>
<tr>
<td>parser</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>raw_message</td>
<td class="code"><pre>&quot;Invalid filter: &#x27;split&#x27;&quot;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Template template_string=&quot;{% load i18n %}&lt;!DO...&quot;&gt;</pre></td>
</tr>
<tr>
<td>tokens</td>
<td class="code"><pre>[&lt;Block token: &quot;load i18n...&quot;&gt;,
&lt;Text token: &quot;&lt;!DOCTYPE html&gt;&lt;ht...&quot;&gt;,
&lt;Var token: &quot;language...&quot;&gt;,
&lt;Text token: &quot;&quot; dir=&quot;...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot;rtl...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot;ltr...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot;&quot;&gt;&lt;head&gt; &lt;meta ...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot;استبيان رضا المرضى...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot;Patient Satisfaction...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; - PX360&lt;/title&gt; ...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot;.rtl...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot;.min.css&quot; rel=&quot;style...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot; font-fa...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; } ...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot;left...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot;right...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot;: 20px; ...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot; &lt;a href=&quot;?l...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot; &lt;a href=&quot;?l...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; &lt;/div&gt; &lt;di...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;survey.survey_templa...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;survey.survey_templa...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; &lt;/h...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;survey.survey_templa...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;survey.survey_templa...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; &lt;/p...&quot;&gt;,
&lt;Block token: &quot;if errors...&quot;&gt;,
&lt;Text token: &quot; &lt;di...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;for error in errors...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;error...&quot;&gt;,
&lt;Text token: &quot;&lt;/li&gt; ...&quot;&gt;,
&lt;Block token: &quot;endfor...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; &lt;!...&quot;&gt;,
&lt;Block token: &quot;csrf_token...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;language...&quot;&gt;,
&lt;Text token: &quot;&quot;&gt; ...&quot;&gt;,
&lt;Block token: &quot;for question in ques...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;forloop.counter...&quot;&gt;,
&lt;Text token: &quot;&quot;&gt; ...&quot;&gt;,
&lt;Var token: &quot;forloop.counter...&quot;&gt;,
&lt;Text token: &quot;&lt;/div&gt; ...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;question.text_ar...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;question.text...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;if question.is_requi...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;if question.help_tex...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;question.help_text_a...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;else...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Var token: &quot;question.help_text...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;endif...&quot;&gt;,
&lt;Text token: &quot; ...&quot;&gt;,
&lt;Block token: &quot;if question.question...&quot;&gt;,
&lt;Text token: &quot;&lt;trimmed 10298 bytes string&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 585, in parse
<div class="context" id="c126073041791424">
<ol start="578" class="pre-context" id="pre126073041791424">
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> except KeyError:</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> self.invalid_block_tag(token, command, parse_until)</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> # Compile the callback into a node object and add it to</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> # the node list.</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> compiled_result = compile_func(self, token)</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> except Exception as e:</pre></li>
</ol>
<ol start="585" class="context-line">
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> raise self.error(token, e)
^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='586' class="post-context" id="post126073041791424">
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> self.extend_nodelist(nodelist, compiled_result, token)</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> # Compile success. Remove the token from the command stack.</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> self.command_stack.pop()</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> if parse_until:</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> self.unclosed_block_tag(parse_until)</pre></li>
<li onclick="toggle('pre126073041791424', 'post126073041791424')"><pre> return nodelist</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041791424">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>command</td>
<td class="code"><pre>&#x27;for&#x27;</pre></td>
</tr>
<tr>
<td>compile_func</td>
<td class="code"><pre>&lt;function do_for at 0x72a9b47325c0&gt;</pre></td>
</tr>
<tr>
<td>compiled_result</td>
<td class="code"><pre>&lt;django.template.defaulttags.CsrfTokenNode object at 0x72a9aadd9d60&gt;</pre></td>
</tr>
<tr>
<td>filter_expression</td>
<td class="code"><pre>&lt;FilterExpression &#x27;language&#x27;&gt;</pre></td>
</tr>
<tr>
<td>nodelist</td>
<td class="code"><pre>[&lt;django.template.defaulttags.LoadNode object at 0x72a9aab643e0&gt;,
&lt;TextNode: &#x27;\n&lt;!DOCTYPE html&gt;\n&lt;html la&#x27;&gt;,
&lt;Variable Node: language&gt;,
&lt;TextNode: &#x27;&quot; dir=&quot;&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;&quot;&gt;\n&lt;head&gt;\n &lt;meta chars&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27; - PX360&lt;/title&gt;\n \n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;.min.css&quot; rel=&quot;stylesheet&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n }\n \n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;: 20px;\n backg&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &lt;/div&gt;\n\n &lt;div cla&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &lt;/h1&gt;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &lt;/p&gt;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n\n &lt;!-- Su&#x27;&gt;,
&lt;django.template.defaulttags.CsrfTokenNode object at 0x72a9aadd9d60&gt;,
&lt;TextNode: &#x27;\n &lt;inp&#x27;&gt;,
&lt;Variable Node: language&gt;,
&lt;TextNode: &#x27;&quot;&gt;\n \n &#x27;&gt;]</pre></td>
</tr>
<tr>
<td>parse_until</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;for question in ques...&quot;&gt;</pre></td>
</tr>
<tr>
<td>token_type</td>
<td class="code"><pre>2</pre></td>
</tr>
<tr>
<td>var_node</td>
<td class="code"><pre>&lt;Variable Node: language&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 583, in parse
<div class="context" id="c126073041782976">
<ol start="576" class="pre-context" id="pre126073041782976">
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> compile_func = self.tags[command]</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> except KeyError:</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> self.invalid_block_tag(token, command, parse_until)</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> # Compile the callback into a node object and add it to</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> # the node list.</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> try:</pre></li>
</ol>
<ol start="583" class="context-line">
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='584' class="post-context" id="post126073041782976">
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> except Exception as e:</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> raise self.error(token, e)</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> self.extend_nodelist(nodelist, compiled_result, token)</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> # Compile success. Remove the token from the command stack.</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> self.command_stack.pop()</pre></li>
<li onclick="toggle('pre126073041782976', 'post126073041782976')"><pre> if parse_until:</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041782976">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>command</td>
<td class="code"><pre>&#x27;for&#x27;</pre></td>
</tr>
<tr>
<td>compile_func</td>
<td class="code"><pre>&lt;function do_for at 0x72a9b47325c0&gt;</pre></td>
</tr>
<tr>
<td>compiled_result</td>
<td class="code"><pre>&lt;django.template.defaulttags.CsrfTokenNode object at 0x72a9aadd9d60&gt;</pre></td>
</tr>
<tr>
<td>filter_expression</td>
<td class="code"><pre>&lt;FilterExpression &#x27;language&#x27;&gt;</pre></td>
</tr>
<tr>
<td>nodelist</td>
<td class="code"><pre>[&lt;django.template.defaulttags.LoadNode object at 0x72a9aab643e0&gt;,
&lt;TextNode: &#x27;\n&lt;!DOCTYPE html&gt;\n&lt;html la&#x27;&gt;,
&lt;Variable Node: language&gt;,
&lt;TextNode: &#x27;&quot; dir=&quot;&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;&quot;&gt;\n&lt;head&gt;\n &lt;meta chars&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27; - PX360&lt;/title&gt;\n \n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;.min.css&quot; rel=&quot;stylesheet&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n }\n \n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;: 20px;\n backg&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &lt;/div&gt;\n\n &lt;div cla&#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &lt;/h1&gt;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &lt;/p&gt;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n\n &lt;!-- Su&#x27;&gt;,
&lt;django.template.defaulttags.CsrfTokenNode object at 0x72a9aadd9d60&gt;,
&lt;TextNode: &#x27;\n &lt;inp&#x27;&gt;,
&lt;Variable Node: language&gt;,
&lt;TextNode: &#x27;&quot;&gt;\n \n &#x27;&gt;]</pre></td>
</tr>
<tr>
<td>parse_until</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;for question in ques...&quot;&gt;</pre></td>
</tr>
<tr>
<td>token_type</td>
<td class="code"><pre>2</pre></td>
</tr>
<tr>
<td>var_node</td>
<td class="code"><pre>&lt;Variable Node: language&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/defaulttags.py</code>, line 894, in do_for
<div class="context" id="c126073041786624">
<ol start="887" class="pre-context" id="pre126073041786624">
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> for var in loopvars:</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> if not var or not invalid_chars.isdisjoint(var):</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> raise TemplateSyntaxError(</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> &quot;&#x27;for&#x27; tag received an invalid argument: %s&quot; % token.contents</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> )</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre></pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> sequence = parser.compile_filter(bits[in_index + 1])</pre></li>
</ol>
<ol start="894" class="context-line">
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> nodelist_loop = parser.parse(
</pre> <span></span></li>
</ol>
<ol start='895' class="post-context" id="post126073041786624">
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> (</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> &quot;empty&quot;,</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> &quot;endfor&quot;,</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> )</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> )</pre></li>
<li onclick="toggle('pre126073041786624', 'post126073041786624')"><pre> token = parser.next_token()</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041786624">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>bits</td>
<td class="code"><pre>[&#x27;for&#x27;, &#x27;question&#x27;, &#x27;in&#x27;, &#x27;questions&#x27;]</pre></td>
</tr>
<tr>
<td>in_index</td>
<td class="code"><pre>-2</pre></td>
</tr>
<tr>
<td>invalid_chars</td>
<td class="code"><pre>frozenset({&#x27; &#x27;, &quot;&#x27;&quot;, &#x27;&quot;&#x27;, &#x27;|&#x27;})</pre></td>
</tr>
<tr>
<td>is_reversed</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>loopvars</td>
<td class="code"><pre>[&#x27;question&#x27;]</pre></td>
</tr>
<tr>
<td>parser</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>sequence</td>
<td class="code"><pre>&lt;FilterExpression &#x27;questions&#x27;&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;for question in ques...&quot;&gt;</pre></td>
</tr>
<tr>
<td>var</td>
<td class="code"><pre>&#x27;question&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 585, in parse
<div class="context" id="c126073041795456">
<ol start="578" class="pre-context" id="pre126073041795456">
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> except KeyError:</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> self.invalid_block_tag(token, command, parse_until)</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> # Compile the callback into a node object and add it to</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> # the node list.</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> compiled_result = compile_func(self, token)</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> except Exception as e:</pre></li>
</ol>
<ol start="585" class="context-line">
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> raise self.error(token, e)
^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='586' class="post-context" id="post126073041795456">
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> self.extend_nodelist(nodelist, compiled_result, token)</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> # Compile success. Remove the token from the command stack.</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> self.command_stack.pop()</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> if parse_until:</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> self.unclosed_block_tag(parse_until)</pre></li>
<li onclick="toggle('pre126073041795456', 'post126073041795456')"><pre> return nodelist</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041795456">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>command</td>
<td class="code"><pre>&#x27;if&#x27;</pre></td>
</tr>
<tr>
<td>compile_func</td>
<td class="code"><pre>&lt;function do_if at 0x72a9b4732ac0&gt;</pre></td>
</tr>
<tr>
<td>compiled_result</td>
<td class="code"><pre>&lt;IfNode&gt;</pre></td>
</tr>
<tr>
<td>filter_expression</td>
<td class="code"><pre>&lt;FilterExpression &#x27;forloop.counter&#x27;&gt;</pre></td>
</tr>
<tr>
<td>nodelist</td>
<td class="code"><pre>[&lt;TextNode: &#x27;\n &lt;div&#x27;&gt;,
&lt;Variable Node: forloop.counter&gt;,
&lt;TextNode: &#x27;&quot;&gt;\n &#x27;&gt;,
&lt;Variable Node: forloop.counter&gt;,
&lt;TextNode: &#x27;&lt;/div&gt;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;]</pre></td>
</tr>
<tr>
<td>parse_until</td>
<td class="code"><pre>(&#x27;empty&#x27;, &#x27;endfor&#x27;)</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;if question.question...&quot;&gt;</pre></td>
</tr>
<tr>
<td>token_type</td>
<td class="code"><pre>2</pre></td>
</tr>
<tr>
<td>var_node</td>
<td class="code"><pre>&lt;Variable Node: forloop.counter&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 583, in parse
<div class="context" id="c126073041783232">
<ol start="576" class="pre-context" id="pre126073041783232">
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> compile_func = self.tags[command]</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> except KeyError:</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> self.invalid_block_tag(token, command, parse_until)</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> # Compile the callback into a node object and add it to</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> # the node list.</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> try:</pre></li>
</ol>
<ol start="583" class="context-line">
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='584' class="post-context" id="post126073041783232">
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> except Exception as e:</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> raise self.error(token, e)</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> self.extend_nodelist(nodelist, compiled_result, token)</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> # Compile success. Remove the token from the command stack.</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> self.command_stack.pop()</pre></li>
<li onclick="toggle('pre126073041783232', 'post126073041783232')"><pre> if parse_until:</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041783232">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>command</td>
<td class="code"><pre>&#x27;if&#x27;</pre></td>
</tr>
<tr>
<td>compile_func</td>
<td class="code"><pre>&lt;function do_if at 0x72a9b4732ac0&gt;</pre></td>
</tr>
<tr>
<td>compiled_result</td>
<td class="code"><pre>&lt;IfNode&gt;</pre></td>
</tr>
<tr>
<td>filter_expression</td>
<td class="code"><pre>&lt;FilterExpression &#x27;forloop.counter&#x27;&gt;</pre></td>
</tr>
<tr>
<td>nodelist</td>
<td class="code"><pre>[&lt;TextNode: &#x27;\n &lt;div&#x27;&gt;,
&lt;Variable Node: forloop.counter&gt;,
&lt;TextNode: &#x27;&quot;&gt;\n &#x27;&gt;,
&lt;Variable Node: forloop.counter&gt;,
&lt;TextNode: &#x27;&lt;/div&gt;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;]</pre></td>
</tr>
<tr>
<td>parse_until</td>
<td class="code"><pre>(&#x27;empty&#x27;, &#x27;endfor&#x27;)</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;if question.question...&quot;&gt;</pre></td>
</tr>
<tr>
<td>token_type</td>
<td class="code"><pre>2</pre></td>
</tr>
<tr>
<td>var_node</td>
<td class="code"><pre>&lt;Variable Node: forloop.counter&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/defaulttags.py</code>, line 1002, in do_if
<div class="context" id="c126073041793728">
<ol start="995" class="pre-context" id="pre126073041793728">
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> conditions_nodelists = [(condition, nodelist)]</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> token = parser.next_token()</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre></pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> # {% elif ... %} (repeatable)</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> while token.contents.startswith(&quot;elif&quot;):</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> bits = token.split_contents()[1:]</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> condition = TemplateIfParser(parser, bits).parse()</pre></li>
</ol>
<ol start="1002" class="context-line">
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> nodelist = parser.parse((&quot;elif&quot;, &quot;else&quot;, &quot;endif&quot;))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='1003' class="post-context" id="post126073041793728">
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> conditions_nodelists.append((condition, nodelist))</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> token = parser.next_token()</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre></pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> # {% else %} (optional)</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> if token.contents == &quot;else&quot;:</pre></li>
<li onclick="toggle('pre126073041793728', 'post126073041793728')"><pre> nodelist = parser.parse((&quot;endif&quot;,))</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041793728">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>bits</td>
<td class="code"><pre>[&#x27;question.question_type&#x27;, &#x27;==&#x27;, &quot;&#x27;likert&#x27;&quot;]</pre></td>
</tr>
<tr>
<td>condition</td>
<td class="code"><pre>(== (literal &lt;FilterExpression &#x27;question.question_type&#x27;&gt;) (literal &lt;FilterExpression &quot;&#x27;likert&#x27;&quot;&gt;))</pre></td>
</tr>
<tr>
<td>conditions_nodelists</td>
<td class="code"><pre>[((== (literal &lt;FilterExpression &#x27;question.question_type&#x27;&gt;) (literal &lt;FilterExpression &quot;&#x27;rating&#x27;&quot;&gt;)),
[&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;ForNode: for i in &quot;12345&quot;, tail_len: 5&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;Variable Node: question.id&gt;,
&lt;TextNode: &#x27;&quot; id=&quot;question_&#x27;&gt;,
&lt;Variable Node: question.id&gt;,
&lt;TextNode: &#x27;&quot; \n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;&gt;\n &#x27;&gt;]),
((== (literal &lt;FilterExpression &#x27;question.question_type&#x27;&gt;) (literal &lt;FilterExpression &quot;&#x27;nps&#x27;&quot;&gt;)),
[&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;ForNode: for i in &quot;012345678910&quot;, tail_len: 7&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;Variable Node: question.id&gt;,
&lt;TextNode: &#x27;&quot; id=&quot;question_&#x27;&gt;,
&lt;Variable Node: question.id&gt;,
&lt;TextNode: &#x27;&quot;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;&gt;\n &#x27;&gt;])]</pre></td>
</tr>
<tr>
<td>nodelist</td>
<td class="code"><pre>[&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;ForNode: for i in &quot;012345678910&quot;, tail_len: 7&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;\n &#x27;&gt;,
&lt;Variable Node: question.id&gt;,
&lt;TextNode: &#x27;&quot; id=&quot;question_&#x27;&gt;,
&lt;Variable Node: question.id&gt;,
&lt;TextNode: &#x27;&quot;\n &#x27;&gt;,
&lt;IfNode&gt;,
&lt;TextNode: &#x27;&gt;\n &#x27;&gt;]</pre></td>
</tr>
<tr>
<td>parser</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;elif question.questi...&quot;&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 585, in parse
<div class="context" id="c126073041785536">
<ol start="578" class="pre-context" id="pre126073041785536">
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> except KeyError:</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> self.invalid_block_tag(token, command, parse_until)</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> # Compile the callback into a node object and add it to</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> # the node list.</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> compiled_result = compile_func(self, token)</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> except Exception as e:</pre></li>
</ol>
<ol start="585" class="context-line">
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> raise self.error(token, e)
^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='586' class="post-context" id="post126073041785536">
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> self.extend_nodelist(nodelist, compiled_result, token)</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> # Compile success. Remove the token from the command stack.</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> self.command_stack.pop()</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> if parse_until:</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> self.unclosed_block_tag(parse_until)</pre></li>
<li onclick="toggle('pre126073041785536', 'post126073041785536')"><pre> return nodelist</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041785536">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>command</td>
<td class="code"><pre>&#x27;for&#x27;</pre></td>
</tr>
<tr>
<td>compile_func</td>
<td class="code"><pre>&lt;function do_for at 0x72a9b47325c0&gt;</pre></td>
</tr>
<tr>
<td>nodelist</td>
<td class="code"><pre>[&lt;TextNode: &#x27;\n &#x27;&gt;]</pre></td>
</tr>
<tr>
<td>parse_until</td>
<td class="code"><pre>(&#x27;elif&#x27;, &#x27;else&#x27;, &#x27;endif&#x27;)</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;for value, label in ...&quot;&gt;</pre></td>
</tr>
<tr>
<td>token_type</td>
<td class="code"><pre>2</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 583, in parse
<div class="context" id="c126073041796992">
<ol start="576" class="pre-context" id="pre126073041796992">
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> try:</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> compile_func = self.tags[command]</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> except KeyError:</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> self.invalid_block_tag(token, command, parse_until)</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> # Compile the callback into a node object and add it to</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> # the node list.</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> try:</pre></li>
</ol>
<ol start="583" class="context-line">
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='584' class="post-context" id="post126073041796992">
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> except Exception as e:</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> raise self.error(token, e)</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> self.extend_nodelist(nodelist, compiled_result, token)</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> # Compile success. Remove the token from the command stack.</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> self.command_stack.pop()</pre></li>
<li onclick="toggle('pre126073041796992', 'post126073041796992')"><pre> if parse_until:</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041796992">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>command</td>
<td class="code"><pre>&#x27;for&#x27;</pre></td>
</tr>
<tr>
<td>compile_func</td>
<td class="code"><pre>&lt;function do_for at 0x72a9b47325c0&gt;</pre></td>
</tr>
<tr>
<td>nodelist</td>
<td class="code"><pre>[&lt;TextNode: &#x27;\n &#x27;&gt;]</pre></td>
</tr>
<tr>
<td>parse_until</td>
<td class="code"><pre>(&#x27;elif&#x27;, &#x27;else&#x27;, &#x27;endif&#x27;)</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;for value, label in ...&quot;&gt;</pre></td>
</tr>
<tr>
<td>token_type</td>
<td class="code"><pre>2</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/defaulttags.py</code>, line 893, in do_for
<div class="context" id="c126073041785088">
<ol start="886" class="pre-context" id="pre126073041785088">
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> loopvars = re.split(r&quot; *, *&quot;, &quot; &quot;.join(bits[1:in_index]))</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> for var in loopvars:</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> if not var or not invalid_chars.isdisjoint(var):</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> raise TemplateSyntaxError(</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> &quot;&#x27;for&#x27; tag received an invalid argument: %s&quot; % token.contents</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> )</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre></pre></li>
</ol>
<ol start="893" class="context-line">
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> sequence = parser.compile_filter(bits[in_index + 1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='894' class="post-context" id="post126073041785088">
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> nodelist_loop = parser.parse(</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> (</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> &quot;empty&quot;,</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> &quot;endfor&quot;,</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> )</pre></li>
<li onclick="toggle('pre126073041785088', 'post126073041785088')"><pre> )</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041785088">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>bits</td>
<td class="code"><pre>[&#x27;for&#x27;,
&#x27;value,&#x27;,
&#x27;label&#x27;,
&#x27;in&#x27;,
&#x27;&quot;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly &#x27;
&#x27;Agree&quot;|split:&quot;,&quot;&#x27;]</pre></td>
</tr>
<tr>
<td>in_index</td>
<td class="code"><pre>-2</pre></td>
</tr>
<tr>
<td>invalid_chars</td>
<td class="code"><pre>frozenset({&#x27; &#x27;, &quot;&#x27;&quot;, &#x27;&quot;&#x27;, &#x27;|&#x27;})</pre></td>
</tr>
<tr>
<td>is_reversed</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>loopvars</td>
<td class="code"><pre>[&#x27;value&#x27;, &#x27;label&#x27;]</pre></td>
</tr>
<tr>
<td>parser</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&lt;Block token: &quot;for value, label in ...&quot;&gt;</pre></td>
</tr>
<tr>
<td>var</td>
<td class="code"><pre>&#x27;label&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 676, in compile_filter
<div class="context" id="c126073041782912">
<ol start="669" class="pre-context" id="pre126073041782912">
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> self.tags.update(lib.tags)</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> self.filters.update(lib.filters)</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre></pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> def compile_filter(self, token):</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> &quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> Convenient wrapper for FilterExpression</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> &quot;&quot;&quot;</pre></li>
</ol>
<ol start="676" class="context-line">
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> return FilterExpression(token, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='677' class="post-context" id="post126073041782912">
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre></pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> def find_filter(self, filter_name):</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> if filter_name in self.filters:</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> return self.filters[filter_name]</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> else:</pre></li>
<li onclick="toggle('pre126073041782912', 'post126073041782912')"><pre> raise TemplateSyntaxError(&quot;Invalid filter: &#x27;%s&#x27;&quot; % filter_name)</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041782912">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&#x27;&quot;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree&quot;|split:&quot;,&quot;&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 771, in __init__
<div class="context" id="c126073041787584">
<ol start="764" class="pre-context" id="pre126073041787584">
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> else:</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> filter_name = match[&quot;filter_name&quot;]</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> args = []</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> if constant_arg := match[&quot;constant_arg&quot;]:</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> args.append((False, Variable(constant_arg).resolve({})))</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> elif var_arg := match[&quot;var_arg&quot;]:</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> args.append((True, Variable(var_arg)))</pre></li>
</ol>
<ol start="771" class="context-line">
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> filter_func = parser.find_filter(filter_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='772' class="post-context" id="post126073041787584">
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> self.args_check(filter_name, filter_func, args)</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> filters.append((filter_func, args))</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> upto = match.end()</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> if upto != len(token):</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> raise TemplateSyntaxError(</pre></li>
<li onclick="toggle('pre126073041787584', 'post126073041787584')"><pre> &quot;Could not parse the remainder: &#x27;%s&#x27; &quot;</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041787584">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>args</td>
<td class="code"><pre>[(False, &#x27;,&#x27;)]</pre></td>
</tr>
<tr>
<td>constant</td>
<td class="code"><pre>&#x27;&quot;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree&quot;&#x27;</pre></td>
</tr>
<tr>
<td>constant_arg</td>
<td class="code"><pre>&#x27;&quot;,&quot;&#x27;</pre></td>
</tr>
<tr>
<td>filter_name</td>
<td class="code"><pre>&#x27;split&#x27;</pre></td>
</tr>
<tr>
<td>filters</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>match</td>
<td class="code"><pre>&lt;re.Match object; span=(67, 77), match=&#x27;|split:&quot;,&quot;&#x27;&gt;</pre></td>
</tr>
<tr>
<td>matches</td>
<td class="code"><pre>&lt;callable_iterator object at 0x72a9aab17a30&gt;</pre></td>
</tr>
<tr>
<td>parser</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;FilterExpression &#x27;&quot;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree&quot;|split:&quot;,&quot;&#x27;&gt;</pre></td>
</tr>
<tr>
<td>start</td>
<td class="code"><pre>67</pre></td>
</tr>
<tr>
<td>token</td>
<td class="code"><pre>&#x27;&quot;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree&quot;|split:&quot;,&quot;&#x27;</pre></td>
</tr>
<tr>
<td>upto</td>
<td class="code"><pre>67</pre></td>
</tr>
<tr>
<td>var_obj</td>
<td class="code"><pre>&#x27;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree&#x27;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
<li class="frame django">
<code class="fname">/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py</code>, line 682, in find_filter
<div class="context" id="c126073041792896">
<ol start="675" class="pre-context" id="pre126073041792896">
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre> &quot;&quot;&quot;</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre> return FilterExpression(token, self)</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre></pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre> def find_filter(self, filter_name):</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre> if filter_name in self.filters:</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre> return self.filters[filter_name]</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre> else:</pre></li>
</ol>
<ol start="682" class="context-line">
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre> raise TemplateSyntaxError(&quot;Invalid filter: &#x27;%s&#x27;&quot; % filter_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</pre> <span></span></li>
</ol>
<ol start='683' class="post-context" id="post126073041792896">
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre></pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre></pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre># This only matches constant *strings* (things in quotes or marked for</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre># translation). Numbers are treated as variables for implementation reasons</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre># (so that they retain their type when passed to filters).</pre></li>
<li onclick="toggle('pre126073041792896', 'post126073041792896')"><pre>constant_string = r&quot;&quot;&quot;</pre></li>
</ol>
</div>
<details>
<summary class="commands">Local vars</summary>
<table class="vars" id="v126073041792896">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>filter_name</td>
<td class="code"><pre>&#x27;split&#x27;</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>&lt;Parser tokens=[&lt;Text token: &quot;&#x27;); ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Please answer all re...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;يرجى الإجابة على جمي...&quot;&gt;, &lt;Block token: &quot;if language == &quot;ar&quot;...&quot;&gt;, &lt;Text token: &quot;; const ...&quot;&gt;, &lt;Var token: &quot;total_questions...&quot;&gt;, &lt;Text token: &quot; &lt;/small...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; Tha...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; شكر...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;&quot;&gt;&lt;/textarea&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Enter your answer he...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;أدخل إجابتك هنا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; class=&quot;form-contro...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Var token: &quot;choice.label_ar...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27; ...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;choice.value...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;for choice in questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot;&gt; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&quot; id=&quot;question_...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;No...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;لا...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;Yes...&quot;&gt;, &lt;Block token: &quot;else...&quot;&gt;, &lt;Text token: &quot;نعم...&quot;&gt;, &lt;Block token: &quot;if language == &#x27;ar&#x27;...&quot;&gt;, &lt;Text token: &quot;&#x27;)&quot;&gt; ...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;elif question.questi...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endfor...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endwith...&quot;&gt;, &lt;Text token: &quot;&lt;/span&gt; ...&quot;&gt;, &lt;Var token: &quot;parts.1...&quot;&gt;, &lt;Text token: &quot; ...&quot;&gt;, &lt;Block token: &quot;endif...&quot;&gt;, &lt;Text token: &quot;required...&quot;&gt;, &lt;Block token: &quot;if question.is_requi...&quot;&gt;, &lt;Text token: &quot;&quot; ...&quot;&gt;, &lt;Var token: &quot;parts.0...&quot;&gt;, &lt;Text token: &quot;&quot; value=&quot;...&quot;&gt;, &lt;Var token: &quot;question.id...&quot;&gt;, &lt;Text token: &quot;&lt;trimmed 4195 bytes string&gt;</pre></td>
</tr>
</tbody>
</table>
</details>
</li>
</ul>
</div>
<form action="https://dpaste.com/" name="pasteform" id="pasteform" method="post">
<div id="pastebinTraceback" class="pastebin">
<input type="hidden" name="language" value="PythonConsole">
<input type="hidden" name="title"
value="TemplateSyntaxError at /surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/">
<input type="hidden" name="source" value="Django Dpaste Agent">
<input type="hidden" name="poster" value="Django">
<textarea name="content" id="traceback_area" cols="140" rows="25">
Environment:
Request Method: GET
Request URL: http://localhost:8000/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/
Django Version: 6.0.1
Python Version: 3.12.3
Installed Applications:
[&#x27;django.contrib.admin&#x27;,
&#x27;django.contrib.auth&#x27;,
&#x27;django.contrib.contenttypes&#x27;,
&#x27;django.contrib.sessions&#x27;,
&#x27;django.contrib.messages&#x27;,
&#x27;django.contrib.staticfiles&#x27;,
&#x27;rest_framework&#x27;,
&#x27;rest_framework_simplejwt&#x27;,
&#x27;django_filters&#x27;,
&#x27;drf_spectacular&#x27;,
&#x27;django_celery_beat&#x27;,
&#x27;apps.core&#x27;,
&#x27;apps.accounts&#x27;,
&#x27;apps.organizations&#x27;,
&#x27;apps.journeys&#x27;,
&#x27;apps.surveys&#x27;,
&#x27;apps.complaints&#x27;,
&#x27;apps.feedback&#x27;,
&#x27;apps.callcenter&#x27;,
&#x27;apps.social&#x27;,
&#x27;apps.px_action_center&#x27;,
&#x27;apps.analytics&#x27;,
&#x27;apps.physicians&#x27;,
&#x27;apps.projects&#x27;,
&#x27;apps.integrations&#x27;,
&#x27;apps.notifications&#x27;,
&#x27;apps.ai_engine&#x27;,
&#x27;apps.dashboard&#x27;,
&#x27;apps.appreciation&#x27;,
&#x27;apps.observations&#x27;,
&#x27;apps.px_sources&#x27;,
&#x27;apps.references&#x27;,
&#x27;apps.standards&#x27;,
&#x27;apps.simulator&#x27;,
&#x27;django_extensions&#x27;]
Installed Middleware:
[&#x27;django.middleware.security.SecurityMiddleware&#x27;,
&#x27;whitenoise.middleware.WhiteNoiseMiddleware&#x27;,
&#x27;django.contrib.sessions.middleware.SessionMiddleware&#x27;,
&#x27;django.middleware.locale.LocaleMiddleware&#x27;,
&#x27;django.middleware.common.CommonMiddleware&#x27;,
&#x27;django.middleware.csrf.CsrfViewMiddleware&#x27;,
&#x27;django.contrib.auth.middleware.AuthenticationMiddleware&#x27;,
&#x27;apps.core.middleware.TenantMiddleware&#x27;,
&#x27;django.contrib.messages.middleware.MessageMiddleware&#x27;,
&#x27;django.middleware.clickjacking.XFrameOptionsMiddleware&#x27;]
Template error:
In template /home/ismail/projects/HH/templates/surveys/public_form.html, error at line 451
Invalid filter: &#x27;split&#x27;
441 : &lt;span&gt;
442 : {% if language == &#x27;ar&#x27; %}محتمل جداً{% else %}Extremely likely{% endif %}
443 : &lt;/span&gt;
444 : &lt;/div&gt;
445 : &lt;input type=&quot;hidden&quot; name=&quot;question_{{ question.id }}&quot; id=&quot;question_{{ question.id }}&quot;
446 : {% if question.is_required %}required{% endif %}&gt;
447 :
448 : &lt;!-- Likert Scale --&gt;
449 : {% elif question.question_type == &#x27;likert&#x27; %}
450 : &lt;div class=&quot;likert-scale&quot;&gt;
451 : {% for value, label in &quot;1:Strongly Disagree,2:Disagree,3:Neutral,4:Agree,5:Strongly Agree&quot;|split:&quot;,&quot; %}
452 : {% with parts=label|split:&quot;:&quot; %}
453 : &lt;label class=&quot;likert-option&quot;&gt;
454 : &lt;input type=&quot;radio&quot; name=&quot;question_{{ question.id }}&quot; value=&quot;{{ parts.0 }}&quot;
455 : {% if question.is_required %}required{% endif %}
456 : onchange=&quot;selectLikert(this)&quot;&gt;
457 : &lt;span&gt;{{ parts.1 }}&lt;/span&gt;
458 : &lt;/label&gt;
459 : {% endwith %}
460 : {% endfor %}
461 : &lt;/div&gt;
Traceback (most recent call last):
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/core/handlers/base.py", line 198, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/views/decorators/http.py", line 64, in inner
return func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/apps/surveys/public_views.py", line 189, in survey_form
return render(request, &#x27;surveys/public_form.html&#x27;, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/shortcuts.py", line 25, in render
content = loader.render_to_string(template_name, context, request, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loader.py", line 61, in render_to_string
template = get_template(template_name, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loader.py", line 15, in get_template
return engine.get_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/backends/django.py", line 79, in get_template
return Template(self.engine.get_template(template_name), self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/engine.py", line 186, in get_template
template, origin = self.find_template(template_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/engine.py", line 159, in find_template
template = loader.get_template(name, skip=skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loaders/cached.py", line 57, in get_template
template = super().get_template(template_name, skip)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/loaders/base.py", line 28, in get_template
return Template(
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 157, in __init__
self.nodelist = self.compile_nodelist()
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 199, in compile_nodelist
nodelist = parser.parse()
^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 585, in parse
raise self.error(token, e)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 583, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 894, in do_for
nodelist_loop = parser.parse(
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 585, in parse
raise self.error(token, e)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 583, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 1002, in do_if
nodelist = parser.parse((&quot;elif&quot;, &quot;else&quot;, &quot;endif&quot;))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 585, in parse
raise self.error(token, e)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 583, in parse
compiled_result = compile_func(self, token)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/defaulttags.py", line 893, in do_for
sequence = parser.compile_filter(bits[in_index + 1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 676, in compile_filter
return FilterExpression(token, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 771, in __init__
filter_func = parser.find_filter(filter_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ismail/projects/HH/.venv/lib/python3.12/site-packages/django/template/base.py", line 682, in find_filter
raise TemplateSyntaxError(&quot;Invalid filter: &#x27;%s&#x27;&quot; % filter_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception Type: TemplateSyntaxError at /surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/
Exception Value: Invalid filter: &#x27;split&#x27;
</textarea>
<br><br>
<input type="submit" value="Share this traceback on a public website">
</div>
</form>
</div>
<div id="requestinfo">
<h2>Request information</h2>
<h3 id="user-info">USER</h3>
<p>AnonymousUser</p>
<h3 id="get-info">GET</h3>
<p>No GET data</p>
<h3 id="post-info">POST</h3>
<p>No POST data</p>
<h3 id="files-info">FILES</h3>
<p>No FILES data</p>
<h3 id="cookie-info">COOKIES</h3>
<p>No cookie data</p>
<h3 id="meta-info">META</h3>
<table class="req">
<thead>
<tr>
<th scope="col">Variable</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>ADMIN_URL</td>
<td class="code"><pre>&#x27;admin/&#x27;</pre></td>
</tr>
<tr>
<td>AI_MAX_TOKENS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>AI_MODEL</td>
<td class="code"><pre>&#x27;openai/gpt-4o-mini&#x27;</pre></td>
</tr>
<tr>
<td>AI_TEMPERATURE</td>
<td class="code"><pre>&#x27;0.3&#x27;</pre></td>
</tr>
<tr>
<td>ALLOWED_HOSTS</td>
<td class="code"><pre>&#x27;localhost,127.0.0.1&#x27;</pre></td>
</tr>
<tr>
<td>BUNDLED_DEBUGPY_PATH</td>
<td class="code"><pre>&#x27;/home/ismail/.vscode/extensions/ms-python.debugpy-2025.18.0-linux-x64/bundled/libs/debugpy&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_BROKER_URL</td>
<td class="code"><pre>&#x27;redis://localhost:6379/0&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_RESULT_BACKEND</td>
<td class="code"><pre>&#x27;redis://localhost:6379/0&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_TASK_ALWAYS_EAGER</td>
<td class="code"><pre>&#x27;False&#x27;</pre></td>
</tr>
<tr>
<td>CHI_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>CHI_API_URL</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>CHROME_DESKTOP</td>
<td class="code"><pre>&#x27;code.desktop&#x27;</pre></td>
</tr>
<tr>
<td>CLINE_ACTIVE</td>
<td class="code"><pre>&#x27;true&#x27;</pre></td>
</tr>
<tr>
<td>CLUTTER_BACKEND</td>
<td class="code"><pre>&#x27;x11&#x27;</pre></td>
</tr>
<tr>
<td>COLORTERM</td>
<td class="code"><pre>&#x27;truecolor&#x27;</pre></td>
</tr>
<tr>
<td>COMPIZ_CONFIG_PROFILE</td>
<td class="code"><pre>&#x27;mint&#x27;</pre></td>
</tr>
<tr>
<td>CONTENT_LENGTH</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>CONTENT_TYPE</td>
<td class="code"><pre>&#x27;text/plain&#x27;</pre></td>
</tr>
<tr>
<td>DATABASE_URL</td>
<td class="code"><pre>&#x27;sqlite:///db.sqlite3&#x27;</pre></td>
</tr>
<tr>
<td>DBUS_SESSION_BUS_ADDRESS</td>
<td class="code"><pre>&#x27;unix:path=/run/user/1000/bus,guid=ec01317cbe154a03aadece3369691cd5&#x27;</pre></td>
</tr>
<tr>
<td>DBUS_STARTER_ADDRESS</td>
<td class="code"><pre>&#x27;unix:path=/run/user/1000/bus,guid=ec01317cbe154a03aadece3369691cd5&#x27;</pre></td>
</tr>
<tr>
<td>DBUS_STARTER_BUS_TYPE</td>
<td class="code"><pre>&#x27;session&#x27;</pre></td>
</tr>
<tr>
<td>DEBUG</td>
<td class="code"><pre>&#x27;True&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_FROM_EMAIL</td>
<td class="code"><pre>&#x27;noreply@px360.sa&#x27;</pre></td>
</tr>
<tr>
<td>DESKTOP_SESSION</td>
<td class="code"><pre>&#x27;mate&#x27;</pre></td>
</tr>
<tr>
<td>DISPLAY</td>
<td class="code"><pre>&#x27;:0&#x27;</pre></td>
</tr>
<tr>
<td>DJANGO_SETTINGS_MODULE</td>
<td class="code"><pre>&#x27;config.settings.dev&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_API_ENABLED</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_API_URL</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_BACKEND</td>
<td class="code"><pre>&#x27;django.core.mail.backends.smtp.EmailBackend&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_ENABLED</td>
<td class="code"><pre>&#x27;True&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_HOST</td>
<td class="code"><pre>&#x27;localhost&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_PASSWORD</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_USER</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_PORT</td>
<td class="code"><pre>&#x27;2525&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_PROVIDER</td>
<td class="code"><pre>&#x27;console&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_USE_TLS</td>
<td class="code"><pre>&#x27;False&#x27;</pre></td>
</tr>
<tr>
<td>FC_FONTATIONS</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>GATEWAY_INTERFACE</td>
<td class="code"><pre>&#x27;CGI/1.1&#x27;</pre></td>
</tr>
<tr>
<td>GDK_BACKEND</td>
<td class="code"><pre>&#x27;x11&#x27;</pre></td>
</tr>
<tr>
<td>GDMSESSION</td>
<td class="code"><pre>&#x27;mate&#x27;</pre></td>
</tr>
<tr>
<td>GDM_LANG</td>
<td class="code"><pre>&#x27;en_US&#x27;</pre></td>
</tr>
<tr>
<td>GIO_LAUNCHED_DESKTOP_FILE</td>
<td class="code"><pre>&#x27;/usr/share/applications/code.desktop&#x27;</pre></td>
</tr>
<tr>
<td>GIO_LAUNCHED_DESKTOP_FILE_PID</td>
<td class="code"><pre>&#x27;2259&#x27;</pre></td>
</tr>
<tr>
<td>GIT_ASKPASS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>GNOME_KEYRING_CONTROL</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>GPG_AGENT_INFO</td>
<td class="code"><pre>&#x27;/run/user/1000/gnupg/S.gpg-agent:0:1&#x27;</pre></td>
</tr>
<tr>
<td>GSM_SKIP_SSH_AGENT_WORKAROUND</td>
<td class="code"><pre>&#x27;true&#x27;</pre></td>
</tr>
<tr>
<td>GTK3_MODULES</td>
<td class="code"><pre>&#x27;xapp-gtk3-module&#x27;</pre></td>
</tr>
<tr>
<td>GTK_MODULES</td>
<td class="code"><pre>&#x27;gail:atk-bridge&#x27;</pre></td>
</tr>
<tr>
<td>GTK_OVERLAY_SCROLLING</td>
<td class="code"><pre>&#x27;0&#x27;</pre></td>
</tr>
<tr>
<td>HIS_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>HIS_API_URL</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>HOME</td>
<td class="code"><pre>&#x27;/home/ismail&#x27;</pre></td>
</tr>
<tr>
<td>HTTP_ACCEPT</td>
<td class="code"><pre>&#x27;*/*&#x27;</pre></td>
</tr>
<tr>
<td>HTTP_HOST</td>
<td class="code"><pre>&#x27;localhost:8000&#x27;</pre></td>
</tr>
<tr>
<td>HTTP_USER_AGENT</td>
<td class="code"><pre>&#x27;curl/8.5.0&#x27;</pre></td>
</tr>
<tr>
<td>IM_CONFIG_PHASE</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>LANG</td>
<td class="code"><pre>&#x27;en_US.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LANGUAGE</td>
<td class="code"><pre>&#x27;en_US&#x27;</pre></td>
</tr>
<tr>
<td>LC_ADDRESS</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_IDENTIFICATION</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_MEASUREMENT</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_MONETARY</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_NAME</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_NUMERIC</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_PAPER</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_TELEPHONE</td>
<td class="code"><pre>&#x27;ar_SA.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LC_TIME</td>
<td class="code"><pre>&#x27;en_US.UTF-8&#x27;</pre></td>
</tr>
<tr>
<td>LESSCLOSE</td>
<td class="code"><pre>&#x27;/usr/bin/lesspipe %s %s&#x27;</pre></td>
</tr>
<tr>
<td>LESSOPEN</td>
<td class="code"><pre>&#x27;| /usr/bin/lesspipe %s&#x27;</pre></td>
</tr>
<tr>
<td>LOGNAME</td>
<td class="code"><pre>&#x27;ismail&#x27;</pre></td>
</tr>
<tr>
<td>LS_COLORS</td>
<td class="code"><pre>&#x27;rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:&#x27;</pre></td>
</tr>
<tr>
<td>MANAGERPID</td>
<td class="code"><pre>&#x27;1065&#x27;</pre></td>
</tr>
<tr>
<td>MATE_DESKTOP_SESSION_ID</td>
<td class="code"><pre>&#x27;this-is-deprecated&#x27;</pre></td>
</tr>
<tr>
<td>MEMORY_PRESSURE_WATCH</td>
<td class="code"><pre>&#x27;/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/session.slice/dbus.service/memory.pressure&#x27;</pre></td>
</tr>
<tr>
<td>MEMORY_PRESSURE_WRITE</td>
<td class="code"><pre>&#x27;c29tZSAyMDAwMDAgMjAwMDAwMAA=&#x27;</pre></td>
</tr>
<tr>
<td>MOH_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>MOH_API_URL</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>NVM_BIN</td>
<td class="code"><pre>&#x27;/home/ismail/.nvm/versions/node/v24.12.0/bin&#x27;</pre></td>
</tr>
<tr>
<td>NVM_CD_FLAGS</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>NVM_DIR</td>
<td class="code"><pre>&#x27;/home/ismail/.nvm&#x27;</pre></td>
</tr>
<tr>
<td>NVM_INC</td>
<td class="code"><pre>&#x27;/home/ismail/.nvm/versions/node/v24.12.0/include/node&#x27;</pre></td>
</tr>
<tr>
<td>OPENROUTER_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>PAPERSIZE</td>
<td class="code"><pre>&#x27;a4&#x27;</pre></td>
</tr>
<tr>
<td>PATH</td>
<td class="code"><pre>&#x27;/home/ismail/projects/HH/.venv/bin:/home/ismail/projects/local_ai_builder/venv/bin:/home/ismail/.opencode/bin:/home/ismail/.local/bin:/home/ismail/.opencode/bin:/home/ismail/.nvm/versions/node/v24.12.0/bin:/home/ismail/.cargo/bin:/home/ismail/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/ismail/.vscode/extensions/ms-python.debugpy-2025.18.0-linux-x64/bundled/scripts/noConfigScripts&#x27;</pre></td>
</tr>
<tr>
<td>PATH_INFO</td>
<td class="code"><pre>&#x27;/surveys/s/H8d9tlVs0BgeAp1XA4NczXoiCcqAaN0r_lc0Eb63U1Y/&#x27;</pre></td>
</tr>
<tr>
<td>PS1</td>
<td class="code"><pre>(&#x27;\\[\x1b]633;A\x07\\](venv) \\[\x1b]633;A\x07\\]\\[\\e]0;\\u@\\h: &#x27;
&#x27;\\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ &#x27;
&#x27;\\[\x1b]633;B\x07\\]\\[\x1b]633;B\x07\\]&#x27;)</pre></td>
</tr>
<tr>
<td>PWD</td>
<td class="code"><pre>&#x27;/home/ismail/projects/HH&#x27;</pre></td>
</tr>
<tr>
<td>PYDEVD_DISABLE_FILE_VALIDATION</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>PYTHONSTARTUP</td>
<td class="code"><pre>&#x27;/home/ismail/.config/Code/User/workspaceStorage/be2a9b869fd4f54d8616f8f370827124/ms-python.python/pythonrc.py&#x27;</pre></td>
</tr>
<tr>
<td>PYTHON_BASIC_REPL</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>QT_ACCESSIBILITY</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>QT_FONT_DPI</td>
<td class="code"><pre>&#x27;96&#x27;</pre></td>
</tr>
<tr>
<td>QT_SCALE_FACTOR</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>QUERY_STRING</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>REMOTE_ADDR</td>
<td class="code"><pre>&#x27;127.0.0.1&#x27;</pre></td>
</tr>
<tr>
<td>REMOTE_HOST</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>REQUEST_METHOD</td>
<td class="code"><pre>&#x27;GET&#x27;</pre></td>
</tr>
<tr>
<td>RUN_MAIN</td>
<td class="code"><pre>&#x27;true&#x27;</pre></td>
</tr>
<tr>
<td>SCRIPT_NAME</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>SECRET_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>SERVER_NAME</td>
<td class="code"><pre>&#x27;localhost&#x27;</pre></td>
</tr>
<tr>
<td>SERVER_PORT</td>
<td class="code"><pre>&#x27;8000&#x27;</pre></td>
</tr>
<tr>
<td>SERVER_PROTOCOL</td>
<td class="code"><pre>&#x27;HTTP/1.1&#x27;</pre></td>
</tr>
<tr>
<td>SERVER_SOFTWARE</td>
<td class="code"><pre>&#x27;WSGIServer/0.2&#x27;</pre></td>
</tr>
<tr>
<td>SESSION_MANAGER</td>
<td class="code"><pre>&#x27;local/ismail-Latitude-5500:@/tmp/.ICE-unix/1084,unix/ismail-Latitude-5500:/tmp/.ICE-unix/1084&#x27;</pre></td>
</tr>
<tr>
<td>SHELL</td>
<td class="code"><pre>&#x27;/bin/bash&#x27;</pre></td>
</tr>
<tr>
<td>SHLVL</td>
<td class="code"><pre>&#x27;0&#x27;</pre></td>
</tr>
<tr>
<td>SMS_API_ENABLED</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>SMS_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>SMS_API_URL</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>SMS_ENABLED</td>
<td class="code"><pre>&#x27;False&#x27;</pre></td>
</tr>
<tr>
<td>SMS_PROVIDER</td>
<td class="code"><pre>&#x27;console&#x27;</pre></td>
</tr>
<tr>
<td>SSH_AUTH_SOCK</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>SYSTEMD_EXEC_PID</td>
<td class="code"><pre>&#x27;1090&#x27;</pre></td>
</tr>
<tr>
<td>TERM</td>
<td class="code"><pre>&#x27;xterm-256color&#x27;</pre></td>
</tr>
<tr>
<td>TERM_PROGRAM</td>
<td class="code"><pre>&#x27;vscode&#x27;</pre></td>
</tr>
<tr>
<td>TERM_PROGRAM_VERSION</td>
<td class="code"><pre>&#x27;1.108.1&#x27;</pre></td>
</tr>
<tr>
<td>TZ</td>
<td class="code"><pre>&#x27;Asia/Riyadh&#x27;</pre></td>
</tr>
<tr>
<td>USER</td>
<td class="code"><pre>&#x27;ismail&#x27;</pre></td>
</tr>
<tr>
<td>UV</td>
<td class="code"><pre>&#x27;/home/ismail/.local/bin/uv&#x27;</pre></td>
</tr>
<tr>
<td>UV_RUN_RECURSION_DEPTH</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>VIRTUAL_ENV</td>
<td class="code"><pre>&#x27;/home/ismail/projects/HH/.venv&#x27;</pre></td>
</tr>
<tr>
<td>VIRTUAL_ENV_PROMPT</td>
<td class="code"><pre>&#x27;(venv) &#x27;</pre></td>
</tr>
<tr>
<td>VSCODE_DEBUGPY_ADAPTER_ENDPOINTS</td>
<td class="code"><pre>&#x27;/home/ismail/.vscode/extensions/ms-python.debugpy-2025.18.0-linux-x64/.noConfigDebugAdapterEndpoints/endpoint-982a1c8d3b85454b.txt&#x27;</pre></td>
</tr>
<tr>
<td>VSCODE_GIT_ASKPASS_EXTRA_ARGS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>VSCODE_GIT_ASKPASS_MAIN</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>VSCODE_GIT_ASKPASS_NODE</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>VSCODE_GIT_IPC_HANDLE</td>
<td class="code"><pre>&#x27;/run/user/1000/vscode-git-4aa301eaf0.sock&#x27;</pre></td>
</tr>
<tr>
<td>VSCODE_PYTHON_AUTOACTIVATE_GUARD</td>
<td class="code"><pre>&#x27;1&#x27;</pre></td>
</tr>
<tr>
<td>WHATSAPP_ENABLED</td>
<td class="code"><pre>&#x27;False&#x27;</pre></td>
</tr>
<tr>
<td>WHATSAPP_PROVIDER</td>
<td class="code"><pre>&#x27;console&#x27;</pre></td>
</tr>
<tr>
<td>XAUTHORITY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>XDG_CONFIG_DIRS</td>
<td class="code"><pre>&#x27;/etc/xdg/xdg-mate:/etc/xdg&#x27;</pre></td>
</tr>
<tr>
<td>XDG_CURRENT_DESKTOP</td>
<td class="code"><pre>&#x27;MATE&#x27;</pre></td>
</tr>
<tr>
<td>XDG_DATA_DIRS</td>
<td class="code"><pre>&#x27;/usr/share/mate:/usr/share/mate:/usr/share/gnome:/home/ismail/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share&#x27;</pre></td>
</tr>
<tr>
<td>XDG_GREETER_DATA_DIR</td>
<td class="code"><pre>&#x27;/var/lib/lightdm-data/ismail&#x27;</pre></td>
</tr>
<tr>
<td>XDG_RUNTIME_DIR</td>
<td class="code"><pre>&#x27;/run/user/1000&#x27;</pre></td>
</tr>
<tr>
<td>XDG_SEAT_PATH</td>
<td class="code"><pre>&#x27;/org/freedesktop/DisplayManager/Seat0&#x27;</pre></td>
</tr>
<tr>
<td>XDG_SESSION_CLASS</td>
<td class="code"><pre>&#x27;user&#x27;</pre></td>
</tr>
<tr>
<td>XDG_SESSION_DESKTOP</td>
<td class="code"><pre>&#x27;mate&#x27;</pre></td>
</tr>
<tr>
<td>XDG_SESSION_PATH</td>
<td class="code"><pre>&#x27;/org/freedesktop/DisplayManager/Session0&#x27;</pre></td>
</tr>
<tr>
<td>XDG_SESSION_TYPE</td>
<td class="code"><pre>&#x27;x11&#x27;</pre></td>
</tr>
<tr>
<td>_</td>
<td class="code"><pre>&#x27;/home/ismail/.local/bin/uv&#x27;</pre></td>
</tr>
<tr>
<td>wsgi.errors</td>
<td class="code"><pre>&lt;_io.TextIOWrapper name=&#x27;&lt;stderr&gt;&#x27; mode=&#x27;w&#x27; encoding=&#x27;utf-8&#x27;&gt;</pre></td>
</tr>
<tr>
<td>wsgi.file_wrapper</td>
<td class="code"><pre>&lt;class &#x27;wsgiref.util.FileWrapper&#x27;&gt;</pre></td>
</tr>
<tr>
<td>wsgi.input</td>
<td class="code"><pre>&lt;django.core.handlers.wsgi.LimitedStream object at 0x72a9aab30430&gt;</pre></td>
</tr>
<tr>
<td>wsgi.multiprocess</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>wsgi.multithread</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>wsgi.run_once</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>wsgi.url_scheme</td>
<td class="code"><pre>&#x27;http&#x27;</pre></td>
</tr>
<tr>
<td>wsgi.version</td>
<td class="code"><pre>(1, 0)</pre></td>
</tr>
</tbody>
</table>
<h3 id="settings-info">Settings</h3>
<h4>Using settings module <code>config.settings.dev</code></h4>
<table class="req">
<thead>
<tr>
<th scope="col">Setting</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>ABSOLUTE_URL_OVERRIDES</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>ADMINS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>AI_MAX_TOKENS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>AI_MODEL</td>
<td class="code"><pre>&#x27;openai/gpt-4o-mini&#x27;</pre></td>
</tr>
<tr>
<td>AI_TEMPERATURE</td>
<td class="code"><pre>0.3</pre></td>
</tr>
<tr>
<td>ALLOWED_HOSTS</td>
<td class="code"><pre>[&#x27;localhost&#x27;, &#x27;127.0.0.1&#x27;, &#x27;0.0.0.0&#x27;]</pre></td>
</tr>
<tr>
<td>ANALYSIS_BATCH_SIZE</td>
<td class="code"><pre>2</pre></td>
</tr>
<tr>
<td>ANALYSIS_ENABLED</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>APPEND_SLASH</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>AUTHENTICATION_BACKENDS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>AUTH_PASSWORD_VALIDATORS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>AUTH_USER_MODEL</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>BASE_DIR</td>
<td class="code"><pre>PosixPath(&#x27;/home/ismail/projects/HH&#x27;)</pre></td>
</tr>
<tr>
<td>CACHES</td>
<td class="code"><pre>{&#x27;default&#x27;: {&#x27;BACKEND&#x27;: &#x27;django.core.cache.backends.locmem.LocMemCache&#x27;}}</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_ALIAS</td>
<td class="code"><pre>&#x27;default&#x27;</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_SECONDS</td>
<td class="code"><pre>600</pre></td>
</tr>
<tr>
<td>CELERY_ACCEPT_CONTENT</td>
<td class="code"><pre>[&#x27;json&#x27;]</pre></td>
</tr>
<tr>
<td>CELERY_BEAT_SCHEDULER</td>
<td class="code"><pre>&#x27;django_celery_beat.schedulers:DatabaseScheduler&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_BROKER_URL</td>
<td class="code"><pre>&#x27;redis://localhost:6379/0&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_RESULT_BACKEND</td>
<td class="code"><pre>&#x27;redis://localhost:6379/0&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_RESULT_SERIALIZER</td>
<td class="code"><pre>&#x27;json&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_TASK_ALWAYS_EAGER</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>CELERY_TASK_EAGER_PROPAGATES</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>CELERY_TASK_SERIALIZER</td>
<td class="code"><pre>&#x27;json&#x27;</pre></td>
</tr>
<tr>
<td>CELERY_TASK_TIME_LIMIT</td>
<td class="code"><pre>1800</pre></td>
</tr>
<tr>
<td>CELERY_TASK_TRACK_STARTED</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>CELERY_TIMEZONE</td>
<td class="code"><pre>&#x27;Asia/Riyadh&#x27;</pre></td>
</tr>
<tr>
<td>CORS_ALLOW_ALL_ORIGINS</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_AGE</td>
<td class="code"><pre>31449600</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_DOMAIN</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_HTTPONLY</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_NAME</td>
<td class="code"><pre>&#x27;csrftoken&#x27;</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_PATH</td>
<td class="code"><pre>&#x27;/&#x27;</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_SAMESITE</td>
<td class="code"><pre>&#x27;Lax&#x27;</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_SECURE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>CSRF_FAILURE_VIEW</td>
<td class="code"><pre>&#x27;django.views.csrf.csrf_failure&#x27;</pre></td>
</tr>
<tr>
<td>CSRF_HEADER_NAME</td>
<td class="code"><pre>&#x27;HTTP_X_CSRFTOKEN&#x27;</pre></td>
</tr>
<tr>
<td>CSRF_TRUSTED_ORIGINS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>CSRF_USE_SESSIONS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>DATABASES</td>
<td class="code"><pre>{&#x27;default&#x27;: {&#x27;ATOMIC_REQUESTS&#x27;: False,
&#x27;AUTOCOMMIT&#x27;: True,
&#x27;CONN_HEALTH_CHECKS&#x27;: False,
&#x27;CONN_MAX_AGE&#x27;: 0,
&#x27;ENGINE&#x27;: &#x27;django.db.backends.sqlite3&#x27;,
&#x27;HOST&#x27;: &#x27;&#x27;,
&#x27;NAME&#x27;: PosixPath(&#x27;/home/ismail/projects/HH/db.sqlite3&#x27;),
&#x27;OPTIONS&#x27;: {},
&#x27;PASSWORD&#x27;: &#x27;********************&#x27;,
&#x27;PORT&#x27;: &#x27;&#x27;,
&#x27;TEST&#x27;: {&#x27;CHARSET&#x27;: None,
&#x27;COLLATION&#x27;: None,
&#x27;MIGRATE&#x27;: True,
&#x27;MIRROR&#x27;: None,
&#x27;NAME&#x27;: None},
&#x27;TIME_ZONE&#x27;: None,
&#x27;USER&#x27;: &#x27;&#x27;}}</pre></td>
</tr>
<tr>
<td>DATABASE_ROUTERS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>DATA_UPLOAD_MAX_MEMORY_SIZE</td>
<td class="code"><pre>2621440</pre></td>
</tr>
<tr>
<td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td>
<td class="code"><pre>1000</pre></td>
</tr>
<tr>
<td>DATA_UPLOAD_MAX_NUMBER_FILES</td>
<td class="code"><pre>100</pre></td>
</tr>
<tr>
<td>DATETIME_FORMAT</td>
<td class="code"><pre>&#x27;N j, Y, P&#x27;</pre></td>
</tr>
<tr>
<td>DATETIME_INPUT_FORMATS</td>
<td class="code"><pre>[&#x27;%Y-%m-%d %H:%M:%S&#x27;,
&#x27;%Y-%m-%d %H:%M:%S.%f&#x27;,
&#x27;%Y-%m-%d %H:%M&#x27;,
&#x27;%m/%d/%Y %H:%M:%S&#x27;,
&#x27;%m/%d/%Y %H:%M:%S.%f&#x27;,
&#x27;%m/%d/%Y %H:%M&#x27;,
&#x27;%m/%d/%y %H:%M:%S&#x27;,
&#x27;%m/%d/%y %H:%M:%S.%f&#x27;,
&#x27;%m/%d/%y %H:%M&#x27;]</pre></td>
</tr>
<tr>
<td>DATE_FORMAT</td>
<td class="code"><pre>&#x27;N j, Y&#x27;</pre></td>
</tr>
<tr>
<td>DATE_INPUT_FORMATS</td>
<td class="code"><pre>[&#x27;%Y-%m-%d&#x27;,
&#x27;%m/%d/%Y&#x27;,
&#x27;%m/%d/%y&#x27;,
&#x27;%b %d %Y&#x27;,
&#x27;%b %d, %Y&#x27;,
&#x27;%d %b %Y&#x27;,
&#x27;%d %b, %Y&#x27;,
&#x27;%B %d %Y&#x27;,
&#x27;%B %d, %Y&#x27;,
&#x27;%d %B %Y&#x27;,
&#x27;%d %B, %Y&#x27;]</pre></td>
</tr>
<tr>
<td>DEBUG</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>DEBUG_PROPAGATE_EXCEPTIONS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>DECIMAL_SEPARATOR</td>
<td class="code"><pre>&#x27;.&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_AUTO_FIELD</td>
<td class="code"><pre>&#x27;django.db.models.BigAutoField&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_CHARSET</td>
<td class="code"><pre>&#x27;utf-8&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_EXCEPTION_REPORTER</td>
<td class="code"><pre>&#x27;django.views.debug.ExceptionReporter&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_EXCEPTION_REPORTER_FILTER</td>
<td class="code"><pre>&#x27;django.views.debug.SafeExceptionReporterFilter&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_FROM_EMAIL</td>
<td class="code"><pre>&#x27;noreply@px360.sa&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_INDEX_TABLESPACE</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>DEFAULT_TABLESPACE</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>DISALLOWED_USER_AGENTS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>DJANGO_APPS</td>
<td class="code"><pre>[&#x27;django.contrib.admin&#x27;,
&#x27;django.contrib.auth&#x27;,
&#x27;django.contrib.contenttypes&#x27;,
&#x27;django.contrib.sessions&#x27;,
&#x27;django.contrib.messages&#x27;,
&#x27;django.contrib.staticfiles&#x27;]</pre></td>
</tr>
<tr>
<td>EMAIL_BACKEND</td>
<td class="code"><pre>&#x27;django.core.mail.backends.smtp.EmailBackend&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_HOST</td>
<td class="code"><pre>&#x27;localhost&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_PASSWORD</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_USER</td>
<td class="code"><pre>&#x27;&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_PORT</td>
<td class="code"><pre>2525</pre></td>
</tr>
<tr>
<td>EMAIL_SSL_CERTFILE</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>EMAIL_SSL_KEYFILE</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_SUBJECT_PREFIX</td>
<td class="code"><pre>&#x27;[Django] &#x27;</pre></td>
</tr>
<tr>
<td>EMAIL_TIMEOUT</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>EMAIL_USE_LOCALTIME</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>EMAIL_USE_SSL</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>EMAIL_USE_TLS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>EXTERNAL_NOTIFICATION_API</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>FACEBOOK_ACCESS_TOKEN</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>FACEBOOK_PAGE_ID</td>
<td class="code"><pre>&#x27;938104059393026&#x27;</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_HANDLERS</td>
<td class="code"><pre>[&#x27;django.core.files.uploadhandler.MemoryFileUploadHandler&#x27;,
&#x27;django.core.files.uploadhandler.TemporaryFileUploadHandler&#x27;]</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_MAX_MEMORY_SIZE</td>
<td class="code"><pre>2621440</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_PERMISSIONS</td>
<td class="code"><pre>420</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_TEMP_DIR</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>FIRST_DAY_OF_WEEK</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>FIXTURE_DIRS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>FORCE_SCRIPT_NAME</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>FORMAT_MODULE_PATH</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>FORM_RENDERER</td>
<td class="code"><pre>&#x27;django.forms.renderers.DjangoTemplates&#x27;</pre></td>
</tr>
<tr>
<td>GOOGLE_CREDENTIALS_FILE</td>
<td class="code"><pre>&#x27;client_secret.json&#x27;</pre></td>
</tr>
<tr>
<td>GOOGLE_LOCATIONS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>GOOGLE_TOKEN_FILE</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>IGNORABLE_404_URLS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>INSTAGRAM_ACCESS_TOKEN</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>INSTAGRAM_ACCOUNT_ID</td>
<td class="code"><pre>&#x27;17841431861985364&#x27;</pre></td>
</tr>
<tr>
<td>INSTALLED_APPS</td>
<td class="code"><pre>[&#x27;django.contrib.admin&#x27;,
&#x27;django.contrib.auth&#x27;,
&#x27;django.contrib.contenttypes&#x27;,
&#x27;django.contrib.sessions&#x27;,
&#x27;django.contrib.messages&#x27;,
&#x27;django.contrib.staticfiles&#x27;,
&#x27;rest_framework&#x27;,
&#x27;rest_framework_simplejwt&#x27;,
&#x27;django_filters&#x27;,
&#x27;drf_spectacular&#x27;,
&#x27;django_celery_beat&#x27;,
&#x27;apps.core&#x27;,
&#x27;apps.accounts&#x27;,
&#x27;apps.organizations&#x27;,
&#x27;apps.journeys&#x27;,
&#x27;apps.surveys&#x27;,
&#x27;apps.complaints&#x27;,
&#x27;apps.feedback&#x27;,
&#x27;apps.callcenter&#x27;,
&#x27;apps.social&#x27;,
&#x27;apps.px_action_center&#x27;,
&#x27;apps.analytics&#x27;,
&#x27;apps.physicians&#x27;,
&#x27;apps.projects&#x27;,
&#x27;apps.integrations&#x27;,
&#x27;apps.notifications&#x27;,
&#x27;apps.ai_engine&#x27;,
&#x27;apps.dashboard&#x27;,
&#x27;apps.appreciation&#x27;,
&#x27;apps.observations&#x27;,
&#x27;apps.px_sources&#x27;,
&#x27;apps.references&#x27;,
&#x27;apps.standards&#x27;,
&#x27;apps.simulator&#x27;,
&#x27;django_extensions&#x27;]</pre></td>
</tr>
<tr>
<td>INTERNAL_IPS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>LANGUAGES</td>
<td class="code"><pre>[(&#x27;en&#x27;, &#x27;English&#x27;), (&#x27;ar&#x27;, &#x27;Arabic&#x27;)]</pre></td>
</tr>
<tr>
<td>LANGUAGES_BIDI</td>
<td class="code"><pre>[&#x27;he&#x27;, &#x27;ar&#x27;, &#x27;ar-dz&#x27;, &#x27;ckb&#x27;, &#x27;fa&#x27;, &#x27;ug&#x27;, &#x27;ur&#x27;]</pre></td>
</tr>
<tr>
<td>LANGUAGE_CODE</td>
<td class="code"><pre>&#x27;en-us&#x27;</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_AGE</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_DOMAIN</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_HTTPONLY</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_NAME</td>
<td class="code"><pre>&#x27;django_language&#x27;</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_PATH</td>
<td class="code"><pre>&#x27;/&#x27;</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_SAMESITE</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_SECURE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>LINKEDIN_ACCESS_TOKEN</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>LINKEDIN_ORGANIZATION_ID</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>LOCALE_PATHS</td>
<td class="code"><pre>[PosixPath(&#x27;/home/ismail/projects/HH/locale&#x27;)]</pre></td>
</tr>
<tr>
<td>LOCAL_APPS</td>
<td class="code"><pre>[&#x27;apps.core&#x27;,
&#x27;apps.accounts&#x27;,
&#x27;apps.organizations&#x27;,
&#x27;apps.journeys&#x27;,
&#x27;apps.surveys&#x27;,
&#x27;apps.complaints&#x27;,
&#x27;apps.feedback&#x27;,
&#x27;apps.callcenter&#x27;,
&#x27;apps.social&#x27;,
&#x27;apps.px_action_center&#x27;,
&#x27;apps.analytics&#x27;,
&#x27;apps.physicians&#x27;,
&#x27;apps.projects&#x27;,
&#x27;apps.integrations&#x27;,
&#x27;apps.notifications&#x27;,
&#x27;apps.ai_engine&#x27;,
&#x27;apps.dashboard&#x27;,
&#x27;apps.appreciation&#x27;,
&#x27;apps.observations&#x27;,
&#x27;apps.px_sources&#x27;,
&#x27;apps.references&#x27;,
&#x27;apps.standards&#x27;,
&#x27;apps.simulator&#x27;]</pre></td>
</tr>
<tr>
<td>LOGGING</td>
<td class="code"><pre>{&#x27;disable_existing_loggers&#x27;: False,
&#x27;filters&#x27;: {&#x27;require_debug_true&#x27;: {&#x27;()&#x27;: &#x27;django.utils.log.RequireDebugTrue&#x27;}},
&#x27;formatters&#x27;: {&#x27;simple&#x27;: {&#x27;format&#x27;: &#x27;{levelname} {message}&#x27;, &#x27;style&#x27;: &#x27;{&#x27;},
&#x27;verbose&#x27;: {&#x27;format&#x27;: &#x27;{levelname} {asctime} {module} &#x27;
&#x27;{process:d} {thread:d} {message}&#x27;,
&#x27;style&#x27;: &#x27;{&#x27;}},
&#x27;handlers&#x27;: {&#x27;console&#x27;: {&#x27;class&#x27;: &#x27;logging.StreamHandler&#x27;,
&#x27;formatter&#x27;: &#x27;verbose&#x27;,
&#x27;level&#x27;: &#x27;INFO&#x27;},
&#x27;file&#x27;: {&#x27;backupCount&#x27;: 10,
&#x27;class&#x27;: &#x27;logging.handlers.RotatingFileHandler&#x27;,
&#x27;filename&#x27;: PosixPath(&#x27;/home/ismail/projects/HH/logs/px360.log&#x27;),
&#x27;formatter&#x27;: &#x27;verbose&#x27;,
&#x27;level&#x27;: &#x27;INFO&#x27;,
&#x27;maxBytes&#x27;: 15728640},
&#x27;integration_file&#x27;: {&#x27;backupCount&#x27;: 10,
&#x27;class&#x27;: &#x27;logging.handlers.RotatingFileHandler&#x27;,
&#x27;filename&#x27;: PosixPath(&#x27;/home/ismail/projects/HH/logs/integrations.log&#x27;),
&#x27;formatter&#x27;: &#x27;verbose&#x27;,
&#x27;level&#x27;: &#x27;INFO&#x27;,
&#x27;maxBytes&#x27;: 15728640}},
&#x27;loggers&#x27;: {&#x27;apps&#x27;: {&#x27;handlers&#x27;: [&#x27;console&#x27;, &#x27;file&#x27;],
&#x27;level&#x27;: &#x27;DEBUG&#x27;,
&#x27;propagate&#x27;: False},
&#x27;apps.integrations&#x27;: {&#x27;handlers&#x27;: [&#x27;console&#x27;, &#x27;integration_file&#x27;],
&#x27;level&#x27;: &#x27;INFO&#x27;,
&#x27;propagate&#x27;: False},
&#x27;django&#x27;: {&#x27;handlers&#x27;: [&#x27;console&#x27;, &#x27;file&#x27;],
&#x27;level&#x27;: &#x27;DEBUG&#x27;,
&#x27;propagate&#x27;: False}},
&#x27;version&#x27;: 1}</pre></td>
</tr>
<tr>
<td>LOGGING_CONFIG</td>
<td class="code"><pre>&#x27;logging.config.dictConfig&#x27;</pre></td>
</tr>
<tr>
<td>LOGIN_ATTEMPT_TIMEOUT_MINUTES</td>
<td class="code"><pre>30</pre></td>
</tr>
<tr>
<td>LOGIN_REDIRECT_URL</td>
<td class="code"><pre>&#x27;/&#x27;</pre></td>
</tr>
<tr>
<td>LOGIN_URL</td>
<td class="code"><pre>&#x27;/accounts/login/&#x27;</pre></td>
</tr>
<tr>
<td>LOGOUT_REDIRECT_URL</td>
<td class="code"><pre>&#x27;/accounts/login/&#x27;</pre></td>
</tr>
<tr>
<td>LOGS_DIR</td>
<td class="code"><pre>PosixPath(&#x27;/home/ismail/projects/HH/logs&#x27;)</pre></td>
</tr>
<tr>
<td>MANAGERS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>MAX_LOGIN_ATTEMPTS</td>
<td class="code"><pre>5</pre></td>
</tr>
<tr>
<td>MEDIA_ROOT</td>
<td class="code"><pre>PosixPath(&#x27;/home/ismail/projects/HH/media&#x27;)</pre></td>
</tr>
<tr>
<td>MEDIA_URL</td>
<td class="code"><pre>&#x27;/media/&#x27;</pre></td>
</tr>
<tr>
<td>MESSAGE_STORAGE</td>
<td class="code"><pre>&#x27;django.contrib.messages.storage.fallback.FallbackStorage&#x27;</pre></td>
</tr>
<tr>
<td>MIDDLEWARE</td>
<td class="code"><pre>[&#x27;django.middleware.security.SecurityMiddleware&#x27;,
&#x27;whitenoise.middleware.WhiteNoiseMiddleware&#x27;,
&#x27;django.contrib.sessions.middleware.SessionMiddleware&#x27;,
&#x27;django.middleware.locale.LocaleMiddleware&#x27;,
&#x27;django.middleware.common.CommonMiddleware&#x27;,
&#x27;django.middleware.csrf.CsrfViewMiddleware&#x27;,
&#x27;django.contrib.auth.middleware.AuthenticationMiddleware&#x27;,
&#x27;apps.core.middleware.TenantMiddleware&#x27;,
&#x27;django.contrib.messages.middleware.MessageMiddleware&#x27;,
&#x27;django.middleware.clickjacking.XFrameOptionsMiddleware&#x27;]</pre></td>
</tr>
<tr>
<td>MIGRATION_MODULES</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>MONTH_DAY_FORMAT</td>
<td class="code"><pre>&#x27;F j&#x27;</pre></td>
</tr>
<tr>
<td>NOTIFICATION_CHANNELS</td>
<td class="code"><pre>{&#x27;email&#x27;: {&#x27;enabled&#x27;: True, &#x27;provider&#x27;: &#x27;console&#x27;},
&#x27;sms&#x27;: {&#x27;enabled&#x27;: False, &#x27;provider&#x27;: &#x27;console&#x27;},
&#x27;whatsapp&#x27;: {&#x27;enabled&#x27;: False, &#x27;provider&#x27;: &#x27;console&#x27;}}</pre></td>
</tr>
<tr>
<td>NUMBER_GROUPING</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>OPENROUTER_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>OPENROUTER_MODEL</td>
<td class="code"><pre>&#x27;google/gemma-3-27b-it:free&#x27;</pre></td>
</tr>
<tr>
<td>PASSWORD_COMPLEXITY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>PASSWORD_HASHERS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>PASSWORD_MIN_LENGTH</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>PASSWORD_RESET_TIMEOUT</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>PREPEND_WWW</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>REST_FRAMEWORK</td>
<td class="code"><pre>{&#x27;DEFAULT_AUTHENTICATION_CLASSES&#x27;: &#x27;********************&#x27;,
&#x27;DEFAULT_FILTER_BACKENDS&#x27;: [&#x27;django_filters.rest_framework.DjangoFilterBackend&#x27;,
&#x27;rest_framework.filters.SearchFilter&#x27;,
&#x27;rest_framework.filters.OrderingFilter&#x27;],
&#x27;DEFAULT_PAGINATION_CLASS&#x27;: &#x27;rest_framework.pagination.PageNumberPagination&#x27;,
&#x27;DEFAULT_PERMISSION_CLASSES&#x27;: [&#x27;rest_framework.permissions.IsAuthenticated&#x27;],
&#x27;DEFAULT_SCHEMA_CLASS&#x27;: &#x27;drf_spectacular.openapi.AutoSchema&#x27;,
&#x27;PAGE_SIZE&#x27;: 50}</pre></td>
</tr>
<tr>
<td>ROOT_URLCONF</td>
<td class="code"><pre>&#x27;config.urls&#x27;</pre></td>
</tr>
<tr>
<td>SECRET_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>SECRET_KEY_FALLBACKS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>SECURE_BROWSER_XSS_FILTER</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>SECURE_CONTENT_TYPE_NOSNIFF</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>SECURE_CROSS_ORIGIN_OPENER_POLICY</td>
<td class="code"><pre>&#x27;same-origin&#x27;</pre></td>
</tr>
<tr>
<td>SECURE_CSP</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>SECURE_CSP_REPORT_ONLY</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SECURE_HSTS_PRELOAD</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SECURE_HSTS_SECONDS</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>SECURE_PROXY_SSL_HEADER</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>SECURE_REDIRECT_EXEMPT</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>SECURE_REFERRER_POLICY</td>
<td class="code"><pre>&#x27;same-origin&#x27;</pre></td>
</tr>
<tr>
<td>SECURE_SSL_HOST</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>SECURE_SSL_REDIRECT</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SERVER_EMAIL</td>
<td class="code"><pre>&#x27;root@localhost&#x27;</pre></td>
</tr>
<tr>
<td>SESSION_CACHE_ALIAS</td>
<td class="code"><pre>&#x27;default&#x27;</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_AGE</td>
<td class="code"><pre>7200</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_DOMAIN</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_HTTPONLY</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_NAME</td>
<td class="code"><pre>&#x27;sessionid&#x27;</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_PATH</td>
<td class="code"><pre>&#x27;/&#x27;</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_SAMESITE</td>
<td class="code"><pre>&#x27;Lax&#x27;</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_SECURE</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SESSION_ENGINE</td>
<td class="code"><pre>&#x27;django.contrib.sessions.backends.db&#x27;</pre></td>
</tr>
<tr>
<td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>SESSION_FILE_PATH</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>SESSION_SAVE_EVERY_REQUEST</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>SESSION_SERIALIZER</td>
<td class="code"><pre>&#x27;django.contrib.sessions.serializers.JSONSerializer&#x27;</pre></td>
</tr>
<tr>
<td>SETTINGS_MODULE</td>
<td class="code"><pre>&#x27;config.settings.dev&#x27;</pre></td>
</tr>
<tr>
<td>SHORT_DATETIME_FORMAT</td>
<td class="code"><pre>&#x27;m/d/Y P&#x27;</pre></td>
</tr>
<tr>
<td>SHORT_DATE_FORMAT</td>
<td class="code"><pre>&#x27;m/d/Y&#x27;</pre></td>
</tr>
<tr>
<td>SIGNING_BACKEND</td>
<td class="code"><pre>&#x27;django.core.signing.TimestampSigner&#x27;</pre></td>
</tr>
<tr>
<td>SILENCED_SYSTEM_CHECKS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>SIMPLE_JWT</td>
<td class="code"><pre>{&#x27;ACCESS_TOKEN_LIFETIME&#x27;: &#x27;********************&#x27;,
&#x27;BLACKLIST_AFTER_ROTATION&#x27;: True,
&#x27;REFRESH_TOKEN_LIFETIME&#x27;: &#x27;********************&#x27;,
&#x27;ROTATE_REFRESH_TOKENS&#x27;: &#x27;********************&#x27;,
&#x27;UPDATE_LAST_LOGIN&#x27;: True}</pre></td>
</tr>
<tr>
<td>SLA_DEFAULTS</td>
<td class="code"><pre>{&#x27;action&#x27;: {&#x27;critical&#x27;: 24, &#x27;high&#x27;: 48, &#x27;low&#x27;: 120, &#x27;medium&#x27;: 72},
&#x27;complaint&#x27;: {&#x27;critical&#x27;: 12, &#x27;high&#x27;: 24, &#x27;low&#x27;: 72, &#x27;medium&#x27;: 48}}</pre></td>
</tr>
<tr>
<td>SPECTACULAR_SETTINGS</td>
<td class="code"><pre>{&#x27;DESCRIPTION&#x27;: &#x27;Patient Experience 360 Management System API&#x27;,
&#x27;SERVE_INCLUDE_SCHEMA&#x27;: False,
&#x27;TITLE&#x27;: &#x27;PX360 API&#x27;,
&#x27;VERSION&#x27;: &#x27;1.0.0&#x27;}</pre></td>
</tr>
<tr>
<td>STATICFILES_DIRS</td>
<td class="code"><pre>[PosixPath(&#x27;/home/ismail/projects/HH/static&#x27;)]</pre></td>
</tr>
<tr>
<td>STATICFILES_FINDERS</td>
<td class="code"><pre>[&#x27;django.contrib.staticfiles.finders.FileSystemFinder&#x27;,
&#x27;django.contrib.staticfiles.finders.AppDirectoriesFinder&#x27;]</pre></td>
</tr>
<tr>
<td>STATIC_ROOT</td>
<td class="code"><pre>PosixPath(&#x27;/home/ismail/projects/HH/staticfiles&#x27;)</pre></td>
</tr>
<tr>
<td>STATIC_URL</td>
<td class="code"><pre>&#x27;/static/&#x27;</pre></td>
</tr>
<tr>
<td>STORAGES</td>
<td class="code"><pre>{&#x27;default&#x27;: {&#x27;BACKEND&#x27;: &#x27;django.core.files.storage.FileSystemStorage&#x27;},
&#x27;staticfiles&#x27;: {&#x27;BACKEND&#x27;: &#x27;whitenoise.storage.CompressedManifestStaticFilesStorage&#x27;}}</pre></td>
</tr>
<tr>
<td>SURVEY_NEGATIVE_THRESHOLD</td>
<td class="code"><pre>3</pre></td>
</tr>
<tr>
<td>SURVEY_TOKEN_EXPIRY_DAYS</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>TASKS</td>
<td class="code"><pre>{&#x27;default&#x27;: {&#x27;BACKEND&#x27;: &#x27;django.tasks.backends.immediate.ImmediateBackend&#x27;}}</pre></td>
</tr>
<tr>
<td>TEMPLATES</td>
<td class="code"><pre>[{&#x27;APP_DIRS&#x27;: True,
&#x27;BACKEND&#x27;: &#x27;django.template.backends.django.DjangoTemplates&#x27;,
&#x27;DIRS&#x27;: [PosixPath(&#x27;/home/ismail/projects/HH/templates&#x27;)],
&#x27;OPTIONS&#x27;: {&#x27;context_processors&#x27;: [&#x27;django.template.context_processors.debug&#x27;,
&#x27;django.template.context_processors.request&#x27;,
&#x27;django.contrib.auth.context_processors.auth&#x27;,
&#x27;django.contrib.messages.context_processors.messages&#x27;,
&#x27;django.template.context_processors.i18n&#x27;,
&#x27;apps.core.context_processors.sidebar_counts&#x27;,
&#x27;apps.core.context_processors.hospital_context&#x27;]}}]</pre></td>
</tr>
<tr>
<td>TENANCY_ENABLED</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>TENANT_FIELD</td>
<td class="code"><pre>&#x27;hospital&#x27;</pre></td>
</tr>
<tr>
<td>TENANT_ISOLATION_LEVEL</td>
<td class="code"><pre>&#x27;strict&#x27;</pre></td>
</tr>
<tr>
<td>TENANT_MODEL</td>
<td class="code"><pre>&#x27;organizations.Hospital&#x27;</pre></td>
</tr>
<tr>
<td>TEST_NON_SERIALIZED_APPS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>TEST_RUNNER</td>
<td class="code"><pre>&#x27;django.test.runner.DiscoverRunner&#x27;</pre></td>
</tr>
<tr>
<td>THIRD_PARTY_APPS</td>
<td class="code"><pre>[&#x27;rest_framework&#x27;,
&#x27;rest_framework_simplejwt&#x27;,
&#x27;django_filters&#x27;,
&#x27;drf_spectacular&#x27;,
&#x27;django_celery_beat&#x27;]</pre></td>
</tr>
<tr>
<td>THOUSAND_SEPARATOR</td>
<td class="code"><pre>&#x27;,&#x27;</pre></td>
</tr>
<tr>
<td>TIME_FORMAT</td>
<td class="code"><pre>&#x27;P&#x27;</pre></td>
</tr>
<tr>
<td>TIME_INPUT_FORMATS</td>
<td class="code"><pre>[&#x27;%H:%M:%S&#x27;, &#x27;%H:%M:%S.%f&#x27;, &#x27;%H:%M&#x27;]</pre></td>
</tr>
<tr>
<td>TIME_ZONE</td>
<td class="code"><pre>&#x27;Asia/Riyadh&#x27;</pre></td>
</tr>
<tr>
<td>TWITTER_BEARER_TOKEN</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>TWITTER_USERNAME</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>URLIZE_ASSUME_HTTPS</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>USE_I18N</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>USE_THOUSAND_SEPARATOR</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>USE_TZ</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>USE_X_FORWARDED_HOST</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>USE_X_FORWARDED_PORT</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>WSGI_APPLICATION</td>
<td class="code"><pre>&#x27;config.wsgi.application&#x27;</pre></td>
</tr>
<tr>
<td>X_FRAME_OPTIONS</td>
<td class="code"><pre>&#x27;DENY&#x27;</pre></td>
</tr>
<tr>
<td>YEAR_MONTH_FORMAT</td>
<td class="code"><pre>&#x27;F Y&#x27;</pre></td>
</tr>
<tr>
<td>YOUTUBE_API_KEY</td>
<td class="code"><pre>&#x27;********************&#x27;</pre></td>
</tr>
<tr>
<td>YOUTUBE_CHANNEL_ID</td>
<td class="code"><pre>&#x27;UCKoEfCXsm4_cQMtqJTvZUVQ&#x27;</pre></td>
</tr>
</tbody>
</table>
</div>
</main>
<footer id="explanation">
<p>
Youre seeing this error because you have <code>DEBUG = True</code> in your
Django settings file. Change that to <code>False</code>, and Django will
display a standard page generated by the handler for this status code.
</p>
</footer>
</body>
</html>