Co-Optimus
Top New Christmas-Themed Slots to Play Over the Festive Period
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE">
<title>RuntimeError
at /getsummary/</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
body * * { padding:0; }
body { font:small sans-serif; background-color:#fff; color:#000; }
body>div { 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; }
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:11px; border:1px solid #ddd;
}
tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; }
table.vars { margin:5px 0 2px 40px; }
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.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 { margin-left: 40px; }
div.commands a { color:#555; text-decoration:none; }
.user div.commands a { color: black; }
#summary { background: #ffc; }
#summary h2 { font-weight: normal; color: #666; }
#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:.7em; font-weight:normal; }
span.commands a:link {color:#5E5694;}
pre.exception_value { font-family: sans-serif; color: #575757; font-size: 1.5em; 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('table.vars'));
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 varToggle(link, id) {
toggle('v' + id);
var s = link.getElementsByTagName('span')[0];
var uarr = String.fromCharCode(0x25b6);
var darr = String.fromCharCode(0x25bc);
s.textContent = s.textContent == uarr ? darr : uarr;
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>
<div id="summary">
<h1>RuntimeError
at /getsummary/</h1>
<pre class="exception_value">CUDA error: out of memory
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.</pre>
<table class="meta">
<tr>
<th>Request Method:</th>
<td>POST</td>
</tr>
<tr>
<th>Request URL:</th>
<td>http://192.168.1.191:4080/getsummary/?min=16&max=1000</td>
</tr>
<tr>
<th>Django Version:</th>
<td>3.1.1</td>
</tr>
<tr>
<th>Exception Type:</th>
<td>RuntimeError</td>
</tr>
<tr>
<th>Exception Value:</th>
<td><pre>CUDA error: out of memory
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.</pre></td>
</tr>
<tr>
<th>Exception Location:</th>
<td><span class="fname">/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py</span>, line 850, in convert</td>
</tr>
<tr>
<th>Python Executable:</th>
<td>/usr/local/bin/python</td>
</tr>
<tr>
<th>Python Version:</th>
<td>3.8.12</td>
</tr>
<tr>
<th>Python Path:</th>
<td><pre>['/app',
'/usr/local/bin',
'/usr/local/lib/python38.zip',
'/usr/local/lib/python3.8',
'/usr/local/lib/python3.8/lib-dynload',
'/usr/local/lib/python3.8/site-packages']</pre></td>
</tr>
<tr>
<th>Server time:</th>
<td>Thu, 22 Dec 2022 19:41:58 +0000</td>
</tr>
</table>
</div>
<div id="traceback">
<h2>Traceback <span class="commands"><a href="#" 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">/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py</code>, line 47, in inner
<div class="context" id="c140233100688896">
<ol start="40" class="pre-context" id="pre140233100688896">
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> response = await sync_to_async(response_for_exception)(request, exc)</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> return response</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> return inner</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> else:</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> @wraps(get_response)</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> def inner(request):</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> try:</pre></li>
</ol>
<ol start="47" class="context-line">
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> response = get_response(request)</pre> <span>…</span></li>
</ol>
<ol start='48' class="post-context" id="post140233100688896">
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> except Exception as exc:</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> response = response_for_exception(request, exc)</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> return response</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre> return inner</pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre></pre></li>
<li onclick="toggle('pre140233100688896', 'post140233100688896')"><pre></pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100688896')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100688896">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>exc</td>
<td class="code"><pre>RuntimeError('CUDA error: out of memory\nCUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.\nFor debugging consider passing CUDA_LAUNCH_BLOCKING=1.')</pre></td>
</tr>
<tr>
<td>get_response</td>
<td class="code"><pre><bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f8b1d66de50>></pre></td>
</tr>
<tr>
<td>request</td>
<td class="code"><pre><WSGIRequest: POST '/getsummary/?min=16&max=1000'></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py</code>, line 165, in _get_response
<div class="context" id="c140233100689344">
<ol start="158" class="pre-context" id="pre140233100689344">
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> def _get_response(self, request):</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> """</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> Resolve and call the view, then apply view, exception, and</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> template_response middleware. This method is everything that happens</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> inside the request/response middleware.</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> """</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> response = None</pre></li>
</ol>
<ol start="165" class="context-line">
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> callback, callback_args, callback_kwargs = self.resolve_request(request)</pre> <span>…</span></li>
</ol>
<ol start='166' class="post-context" id="post140233100689344">
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre></pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> # Apply view middleware</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> for middleware_method in self._view_middleware:</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> if response:</pre></li>
<li onclick="toggle('pre140233100689344', 'post140233100689344')"><pre> break</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100689344')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100689344">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>request</td>
<td class="code"><pre><WSGIRequest: POST '/getsummary/?min=16&max=1000'></pre></td>
</tr>
<tr>
<td>response</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x7f8b1d66de50></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py</code>, line 288, in resolve_request
<div class="context" id="c140233100687168">
<ol start="281" class="pre-context" id="pre140233100687168">
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> if hasattr(request, 'urlconf'):</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> urlconf = request.urlconf</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> set_urlconf(urlconf)</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> resolver = get_resolver(urlconf)</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> else:</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> resolver = get_resolver()</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> # Resolve the view, and assign the match object back to the request.</pre></li>
</ol>
<ol start="288" class="context-line">
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> resolver_match = resolver.resolve(request.path_info)</pre> <span>…</span></li>
</ol>
<ol start='289' class="post-context" id="post140233100687168">
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> request.resolver_match = resolver_match</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> return resolver_match</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre></pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> def check_response(self, response, callback, name=None):</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> """</pre></li>
<li onclick="toggle('pre140233100687168', 'post140233100687168')"><pre> Raise an error if the view returned None or an uncalled coroutine.</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100687168')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100687168">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>request</td>
<td class="code"><pre><WSGIRequest: POST '/getsummary/?min=16&max=1000'></pre></td>
</tr>
<tr>
<td>resolver</td>
<td class="code"><pre><URLResolver 'web_project.urls' (None:None) '^/'></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x7f8b1d66de50></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py</code>, line 545, in resolve
<div class="context" id="c140233100686336">
<ol start="538" class="pre-context" id="pre140233100686336">
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre></pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> def resolve(self, path):</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> path = str(path) # path may be a reverse_lazy object</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> tried = []</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> match = self.pattern.match(path)</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> if match:</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> new_path, args, kwargs = match</pre></li>
</ol>
<ol start="545" class="context-line">
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> for pattern in self.url_patterns:</pre> <span>…</span></li>
</ol>
<ol start='546' class="post-context" id="post140233100686336">
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> try:</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> sub_match = pattern.resolve(new_path)</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> except Resolver404 as e:</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> sub_tried = e.args[0].get('tried')</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> if sub_tried is not None:</pre></li>
<li onclick="toggle('pre140233100686336', 'post140233100686336')"><pre> tried.extend([pattern] + t for t in sub_tried)</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100686336')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100686336">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>args</td>
<td class="code"><pre>()</pre></td>
</tr>
<tr>
<td>kwargs</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>match</td>
<td class="code"><pre>('getsummary/', (), {})</pre></td>
</tr>
<tr>
<td>new_path</td>
<td class="code"><pre>'getsummary/'</pre></td>
</tr>
<tr>
<td>path</td>
<td class="code"><pre>'/getsummary/'</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><URLResolver 'web_project.urls' (None:None) '^/'></pre></td>
</tr>
<tr>
<td>tried</td>
<td class="code"><pre>[]</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/utils/functional.py</code>, line 48, in __get__
<div class="context" id="c140233107141824">
<ol start="41" class="pre-context" id="pre140233107141824">
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> """</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> Call the function and put the return value in instance.__dict__ so that</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> subsequent attribute access on the instance returns the cached value</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> instead of calling cached_property.__get__().</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> """</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> if instance is None:</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> return self</pre></li>
</ol>
<ol start="48" class="context-line">
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> res = instance.__dict__[self.name] = self.func(instance)</pre> <span>…</span></li>
</ol>
<ol start='49' class="post-context" id="post140233107141824">
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> return res</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre></pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre></pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre>class classproperty:</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> """</pre></li>
<li onclick="toggle('pre140233107141824', 'post140233107141824')"><pre> Decorator that converts a method with a single cls argument into a property</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107141824')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107141824">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>cls</td>
<td class="code"><pre><class 'django.urls.resolvers.URLResolver'></pre></td>
</tr>
<tr>
<td>instance</td>
<td class="code"><pre><URLResolver 'web_project.urls' (None:None) '^/'></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.utils.functional.cached_property object at 0x7f8b1d66d370></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py</code>, line 589, in url_patterns
<div class="context" id="c140233107141312">
<ol start="582" class="pre-context" id="pre140233107141312">
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> return import_module(self.urlconf_name)</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> else:</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> return self.urlconf_name</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre></pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> @cached_property</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> def url_patterns(self):</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> # urlconf_module might be a valid set of patterns, so we default to it</pre></li>
</ol>
<ol start="589" class="context-line">
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)</pre> <span>…</span></li>
</ol>
<ol start='590' class="post-context" id="post140233107141312">
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> try:</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> iter(patterns)</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> except TypeError as e:</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> msg = (</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> "The included URLconf '{name}' does not appear to have any "</pre></li>
<li onclick="toggle('pre140233107141312', 'post140233107141312')"><pre> "patterns in it. If you see valid patterns in the file then "</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107141312')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107141312">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><URLResolver 'web_project.urls' (None:None) '^/'></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/utils/functional.py</code>, line 48, in __get__
<div class="context" id="c140233107141440">
<ol start="41" class="pre-context" id="pre140233107141440">
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> """</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> Call the function and put the return value in instance.__dict__ so that</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> subsequent attribute access on the instance returns the cached value</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> instead of calling cached_property.__get__().</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> """</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> if instance is None:</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> return self</pre></li>
</ol>
<ol start="48" class="context-line">
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> res = instance.__dict__[self.name] = self.func(instance)</pre> <span>…</span></li>
</ol>
<ol start='49' class="post-context" id="post140233107141440">
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> return res</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre></pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre></pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre>class classproperty:</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> """</pre></li>
<li onclick="toggle('pre140233107141440', 'post140233107141440')"><pre> Decorator that converts a method with a single cls argument into a property</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107141440')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107141440">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>cls</td>
<td class="code"><pre><class 'django.urls.resolvers.URLResolver'></pre></td>
</tr>
<tr>
<td>instance</td>
<td class="code"><pre><URLResolver 'web_project.urls' (None:None) '^/'></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><django.utils.functional.cached_property object at 0x7f8b1d66d310></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py</code>, line 582, in urlconf_module
<div class="context" id="c140233107140928">
<ol start="575" class="pre-context" id="pre140233107140928">
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> tried.append([pattern])</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> raise Resolver404({'tried': tried, 'path': new_path})</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> raise Resolver404({'path': path})</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre></pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> @cached_property</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> def urlconf_module(self):</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> if isinstance(self.urlconf_name, str):</pre></li>
</ol>
<ol start="582" class="context-line">
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> return import_module(self.urlconf_name)</pre> <span>…</span></li>
</ol>
<ol start='583' class="post-context" id="post140233107140928">
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> else:</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> return self.urlconf_name</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre></pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> @cached_property</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> def url_patterns(self):</pre></li>
<li onclick="toggle('pre140233107140928', 'post140233107140928')"><pre> # urlconf_module might be a valid set of patterns, so we default to it</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107140928')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107140928">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>self</td>
<td class="code"><pre><URLResolver 'web_project.urls' (None:None) '^/'></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/usr/local/lib/python3.8/importlib/__init__.py</code>, line 127, in import_module
<div class="context" id="c140233100313664">
<ol start="120" class="pre-context" id="pre140233100313664">
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> msg = ("the 'package' argument is required to perform a relative "</pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> "import for {!r}")</pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> raise TypeError(msg.format(name))</pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> for character in name:</pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> if character != '.':</pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> break</pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> level += 1</pre></li>
</ol>
<ol start="127" class="context-line">
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre> return _bootstrap._gcd_import(name[level:], package, level)</pre> <span>…</span></li>
</ol>
<ol start='128' class="post-context" id="post140233100313664">
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre></pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre></pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre>_RELOADING = {}</pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre></pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre></pre></li>
<li onclick="toggle('pre140233100313664', 'post140233100313664')"><pre>def reload(module):</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100313664')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100313664">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>level</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'web_project.urls'</pre></td>
</tr>
<tr>
<td>package</td>
<td class="code"><pre>None</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 1014, in _gcd_import
<div class="context" id="c140233100314048">
<ol start="1014" class="context-line">
<li onclick="toggle('pre140233100314048', 'post140233100314048')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100314048')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100314048">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>level</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'web_project.urls'</pre></td>
</tr>
<tr>
<td>package</td>
<td class="code"><pre>None</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 991, in _find_and_load
<div class="context" id="c140233107142336">
<ol start="991" class="context-line">
<li onclick="toggle('pre140233107142336', 'post140233107142336')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107142336')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107142336">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>import_</td>
<td class="code"><pre><function _gcd_import at 0x7f8b1ef41430></pre></td>
</tr>
<tr>
<td>module</td>
<td class="code"><pre><object object at 0x7f8b1ef18060></pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'web_project.urls'</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 975, in _find_and_load_unlocked
<div class="context" id="c140233107144192">
<ol start="975" class="context-line">
<li onclick="toggle('pre140233107144192', 'post140233107144192')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107144192')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107144192">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>import_</td>
<td class="code"><pre><function _gcd_import at 0x7f8b1ef41430></pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'web_project.urls'</pre></td>
</tr>
<tr>
<td>parent</td>
<td class="code"><pre>'web_project'</pre></td>
</tr>
<tr>
<td>parent_module</td>
<td class="code"><pre><module 'web_project' from '/app/web_project/__init__.py'></pre></td>
</tr>
<tr>
<td>path</td>
<td class="code"><pre>['/app/web_project']</pre></td>
</tr>
<tr>
<td>spec</td>
<td class="code"><pre>ModuleSpec(name='web_project.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a909878b0>, origin='/app/web_project/urls.py')</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 671, in _load_unlocked
<div class="context" id="c140233107141120">
<ol start="671" class="context-line">
<li onclick="toggle('pre140233107141120', 'post140233107141120')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107141120')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107141120">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>module</td>
<td class="code"><pre><module 'web_project.urls' from '/app/web_project/urls.py'></pre></td>
</tr>
<tr>
<td>spec</td>
<td class="code"><pre>ModuleSpec(name='web_project.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a909878b0>, origin='/app/web_project/urls.py')</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap_external></code>, line 843, in exec_module
<div class="context" id="c140233107141632">
<ol start="843" class="context-line">
<li onclick="toggle('pre140233107141632', 'post140233107141632')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107141632')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107141632">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td class="code"><pre><code object <module> at 0x7f8a901f8be0, file "/app/web_project/urls.py", line 1></pre></td>
</tr>
<tr>
<td>module</td>
<td class="code"><pre><module 'web_project.urls' from '/app/web_project/urls.py'></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><_frozen_importlib_external.SourceFileLoader object at 0x7f8a909878b0></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 219, in _call_with_frames_removed
<div class="context" id="c140233107144064">
<ol start="219" class="context-line">
<li onclick="toggle('pre140233107144064', 'post140233107144064')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107144064')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107144064">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>args</td>
<td class="code"><pre>(<code object <module> at 0x7f8a901f8be0, file "/app/web_project/urls.py", line 1>,
{'__builtins__': {'ArithmeticError': <class 'ArithmeticError'>,
'AssertionError': <class 'AssertionError'>,
'AttributeError': <class 'AttributeError'>,
'BaseException': <class 'BaseException'>,
'BlockingIOError': <class 'BlockingIOError'>,
'BrokenPipeError': <class 'BrokenPipeError'>,
'BufferError': <class 'BufferError'>,
'BytesWarning': <class 'BytesWarning'>,
'ChildProcessError': <class 'ChildProcessError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionError': <class 'ConnectionError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>,
'DeprecationWarning': <class 'DeprecationWarning'>,
'EOFError': <class 'EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <class 'OSError'>,
'Exception': <class 'Exception'>,
'False': False,
'FileExistsError': <class 'FileExistsError'>,
'FileNotFoundError': <class 'FileNotFoundError'>,
'FloatingPointError': <class 'FloatingPointError'>,
'FutureWarning': <class 'FutureWarning'>,
'GeneratorExit': <class 'GeneratorExit'>,
'IOError': <class 'OSError'>,
'ImportError': <class 'ImportError'>,
'ImportWarning': <class 'ImportWarning'>,
'IndentationError': <class 'IndentationError'>,
'IndexError': <class 'IndexError'>,
'InterruptedError': <class 'InterruptedError'>,
'IsADirectoryError': <class 'IsADirectoryError'>,
'KeyError': <class 'KeyError'>,
'KeyboardInterrupt': <class 'KeyboardInterrupt'>,
'LookupError': <class 'LookupError'>,
'MemoryError': <class 'MemoryError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>,
'NameError': <class 'NameError'>,
'None': None,
'NotADirectoryError': <class 'NotADirectoryError'>,
'NotImplemented': NotImplemented,
'NotImplementedError': <class 'NotImplementedError'>,
'OSError': <class 'OSError'>,
'OverflowError': <class 'OverflowError'>,
'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
'PermissionError': <class 'PermissionError'>,
'ProcessLookupError': <class 'ProcessLookupError'>,
'RecursionError': <class 'RecursionError'>,
'ReferenceError': <class 'ReferenceError'>,
'ResourceWarning': <class 'ResourceWarning'>,
'RuntimeError': <class 'RuntimeError'>,
'RuntimeWarning': <class 'RuntimeWarning'>,
'StopAsyncIteration': <class 'StopAsyncIteration'>,
'StopIteration': <class 'StopIteration'>,
'SyntaxError': <class 'SyntaxError'>,
'SyntaxWarning': <class 'SyntaxWarning'>,
'SystemError': <class 'SystemError'>,
'SystemExit': <class 'SystemExit'>,
'TabError': <class 'TabError'>,
'TimeoutError': <class 'TimeoutError'>,
'True': True,
'TypeError': <class 'TypeError'>,
'UnboundLocalError': <class 'UnboundLocalError'>,
'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>,
'UnicodeError': <class 'UnicodeError'>,
'Unic… <trimmed 10351 bytes string></pre></td>
</tr>
<tr>
<td>f</td>
<td class="code"><pre><built-in function exec></pre></td>
</tr>
<tr>
<td>kwds</td>
<td class="code"><pre>{}</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/app/web_project/urls.py</code>, line 5, in <module>
<div class="context" id="c140233107144320">
<ol start="1" class="pre-context" id="pre140233107144320">
<li onclick="toggle('pre140233107144320', 'post140233107144320')"><pre>from django.contrib import admin</pre></li>
<li onclick="toggle('pre140233107144320', 'post140233107144320')"><pre>from django.urls import include, path</pre></li>
<li onclick="toggle('pre140233107144320', 'post140233107144320')"><pre></pre></li>
<li onclick="toggle('pre140233107144320', 'post140233107144320')"><pre>urlpatterns = [</pre></li>
</ol>
<ol start="5" class="context-line">
<li onclick="toggle('pre140233107144320', 'post140233107144320')"><pre> path("", include("hello.urls")),</pre> <span>…</span></li>
</ol>
<ol start='6' class="post-context" id="post140233107144320">
<li onclick="toggle('pre140233107144320', 'post140233107144320')"><pre> path('admin/', admin.site.urls)</pre></li>
<li onclick="toggle('pre140233107144320', 'post140233107144320')"><pre>]</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107144320')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107144320">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>__builtins__</td>
<td class="code"><pre>{'ArithmeticError': <class 'ArithmeticError'>,
'AssertionError': <class 'AssertionError'>,
'AttributeError': <class 'AttributeError'>,
'BaseException': <class 'BaseException'>,
'BlockingIOError': <class 'BlockingIOError'>,
'BrokenPipeError': <class 'BrokenPipeError'>,
'BufferError': <class 'BufferError'>,
'BytesWarning': <class 'BytesWarning'>,
'ChildProcessError': <class 'ChildProcessError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionError': <class 'ConnectionError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>,
'DeprecationWarning': <class 'DeprecationWarning'>,
'EOFError': <class 'EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <class 'OSError'>,
'Exception': <class 'Exception'>,
'False': False,
'FileExistsError': <class 'FileExistsError'>,
'FileNotFoundError': <class 'FileNotFoundError'>,
'FloatingPointError': <class 'FloatingPointError'>,
'FutureWarning': <class 'FutureWarning'>,
'GeneratorExit': <class 'GeneratorExit'>,
'IOError': <class 'OSError'>,
'ImportError': <class 'ImportError'>,
'ImportWarning': <class 'ImportWarning'>,
'IndentationError': <class 'IndentationError'>,
'IndexError': <class 'IndexError'>,
'InterruptedError': <class 'InterruptedError'>,
'IsADirectoryError': <class 'IsADirectoryError'>,
'KeyError': <class 'KeyError'>,
'KeyboardInterrupt': <class 'KeyboardInterrupt'>,
'LookupError': <class 'LookupError'>,
'MemoryError': <class 'MemoryError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>,
'NameError': <class 'NameError'>,
'None': None,
'NotADirectoryError': <class 'NotADirectoryError'>,
'NotImplemented': NotImplemented,
'NotImplementedError': <class 'NotImplementedError'>,
'OSError': <class 'OSError'>,
'OverflowError': <class 'OverflowError'>,
'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
'PermissionError': <class 'PermissionError'>,
'ProcessLookupError': <class 'ProcessLookupError'>,
'RecursionError': <class 'RecursionError'>,
'ReferenceError': <class 'ReferenceError'>,
'ResourceWarning': <class 'ResourceWarning'>,
'RuntimeError': <class 'RuntimeError'>,
'RuntimeWarning': <class 'RuntimeWarning'>,
'StopAsyncIteration': <class 'StopAsyncIteration'>,
'StopIteration': <class 'StopIteration'>,
'SyntaxError': <class 'SyntaxError'>,
'SyntaxWarning': <class 'SyntaxWarning'>,
'SystemError': <class 'SystemError'>,
'SystemExit': <class 'SystemExit'>,
'TabError': <class 'TabError'>,
'TimeoutError': <class 'TimeoutError'>,
'True': True,
'TypeError': <class 'TypeError'>,
'UnboundLocalError': <class 'UnboundLocalError'>,
'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>,
'UnicodeError': <class 'UnicodeError'>,
'UnicodeTranslateError': <class 'UnicodeTranslateError'>,
'UnicodeWarning': <class 'UnicodeWarning'>,
'UserWarning': <class 'UserWarning'>,
'ValueError': <class 'ValueError'>,
'Warning': <class 'Warning'>,
'ZeroDivisionError': <class 'ZeroDivisionError'>,
'__build_class__': <built-in function __build_class__>,
'__debug__': True,
'__doc__': 'Built-in functions, exceptions, and other objects.\n'
'\n'
"Noteworthy: None is the `nil' object; Ellipsis represents `...' "
'in slices.',
'__import__': <built-in function __import__>,
'__loader__': <class '_frozen_importlib.BuiltinImporter'>,
'__name__': 'builtins',
'__package__': '',
'__pybind11_internals_v4_gcc_libstdcpp_cxxabi1011__': <capsule object NULL at 0x7f8af267ed50>,
'__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>),
'abs': <built-in function abs>,
'all': <built-in function all>,
'any': <built-in function any>,
'ascii': <built-in function ascii>,
'bin': <built-in function bin>,
'bool': <class 'bool'>,
'breakpoint': <built-in function breakpoint>,
'bytearray': <class 'bytearray'>,
'bytes': <class 'bytes'>,
'callable': <built-in function callable>,
'chr': <built-in function chr>,
'classmethod': <class 'class… <trimmed 6683 bytes string></pre></td>
</tr>
<tr>
<td>__cached__</td>
<td class="code"><pre>'/app/web_project/__pycache__/urls.cpython-38.pyc'</pre></td>
</tr>
<tr>
<td>__doc__</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>__file__</td>
<td class="code"><pre>'/app/web_project/urls.py'</pre></td>
</tr>
<tr>
<td>__loader__</td>
<td class="code"><pre><_frozen_importlib_external.SourceFileLoader object at 0x7f8a909878b0></pre></td>
</tr>
<tr>
<td>__name__</td>
<td class="code"><pre>'web_project.urls'</pre></td>
</tr>
<tr>
<td>__package__</td>
<td class="code"><pre>'web_project'</pre></td>
</tr>
<tr>
<td>__spec__</td>
<td class="code"><pre>ModuleSpec(name='web_project.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a909878b0>, origin='/app/web_project/urls.py')</pre></td>
</tr>
<tr>
<td>admin</td>
<td class="code"><pre><module 'django.contrib.admin' from '/usr/local/lib/python3.8/site-packages/django/contrib/admin/__init__.py'></pre></td>
</tr>
<tr>
<td>include</td>
<td class="code"><pre><function include at 0x7f8b1d6735e0></pre></td>
</tr>
<tr>
<td>path</td>
<td class="code"><pre>functools.partial(<function _path at 0x7f8b1d673700>, Pattern=<class 'django.urls.resolvers.RoutePattern'>)</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame django">
<code class="fname">/usr/local/lib/python3.8/site-packages/django/urls/conf.py</code>, line 34, in include
<div class="context" id="c140233107143296">
<ol start="27" class="pre-context" id="pre140233107143296">
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> 'provide the namespace argument to include() instead.' % len(arg)</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> )</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> else:</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> # No namespace hint - use manually provided namespace.</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> urlconf_module = arg</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre></pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> if isinstance(urlconf_module, str):</pre></li>
</ol>
<ol start="34" class="context-line">
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> urlconf_module = import_module(urlconf_module)</pre> <span>…</span></li>
</ol>
<ol start='35' class="post-context" id="post140233107143296">
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> app_name = getattr(urlconf_module, 'app_name', app_name)</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> if namespace and not app_name:</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> raise ImproperlyConfigured(</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> 'Specifying a namespace in include() without providing an app_name '</pre></li>
<li onclick="toggle('pre140233107143296', 'post140233107143296')"><pre> 'is not supported. Set the app_name attribute in the included '</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107143296')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107143296">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>app_name</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>arg</td>
<td class="code"><pre>'hello.urls'</pre></td>
</tr>
<tr>
<td>namespace</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>urlconf_module</td>
<td class="code"><pre>'hello.urls'</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/usr/local/lib/python3.8/importlib/__init__.py</code>, line 127, in import_module
<div class="context" id="c140233100314944">
<ol start="120" class="pre-context" id="pre140233100314944">
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> msg = ("the 'package' argument is required to perform a relative "</pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> "import for {!r}")</pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> raise TypeError(msg.format(name))</pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> for character in name:</pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> if character != '.':</pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> break</pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> level += 1</pre></li>
</ol>
<ol start="127" class="context-line">
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre> return _bootstrap._gcd_import(name[level:], package, level)</pre> <span>…</span></li>
</ol>
<ol start='128' class="post-context" id="post140233100314944">
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre></pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre></pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre>_RELOADING = {}</pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre></pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre></pre></li>
<li onclick="toggle('pre140233100314944', 'post140233100314944')"><pre>def reload(module):</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100314944')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100314944">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>level</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'hello.urls'</pre></td>
</tr>
<tr>
<td>package</td>
<td class="code"><pre>None</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 1014, in _gcd_import
<div class="context" id="c140233100315008">
<ol start="1014" class="context-line">
<li onclick="toggle('pre140233100315008', 'post140233100315008')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100315008')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100315008">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>level</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'hello.urls'</pre></td>
</tr>
<tr>
<td>package</td>
<td class="code"><pre>None</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 991, in _find_and_load
<div class="context" id="c140233100315840">
<ol start="991" class="context-line">
<li onclick="toggle('pre140233100315840', 'post140233100315840')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100315840')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100315840">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>import_</td>
<td class="code"><pre><function _gcd_import at 0x7f8b1ef41430></pre></td>
</tr>
<tr>
<td>module</td>
<td class="code"><pre><object object at 0x7f8b1ef18060></pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'hello.urls'</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 975, in _find_and_load_unlocked
<div class="context" id="c140233100315776">
<ol start="975" class="context-line">
<li onclick="toggle('pre140233100315776', 'post140233100315776')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100315776')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100315776">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>import_</td>
<td class="code"><pre><function _gcd_import at 0x7f8b1ef41430></pre></td>
</tr>
<tr>
<td>name</td>
<td class="code"><pre>'hello.urls'</pre></td>
</tr>
<tr>
<td>parent</td>
<td class="code"><pre>'hello'</pre></td>
</tr>
<tr>
<td>parent_module</td>
<td class="code"><pre><module 'hello' from '/app/hello/__init__.py'></pre></td>
</tr>
<tr>
<td>path</td>
<td class="code"><pre>['/app/hello']</pre></td>
</tr>
<tr>
<td>spec</td>
<td class="code"><pre>ModuleSpec(name='hello.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a90812a90>, origin='/app/hello/urls.py')</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 671, in _load_unlocked
<div class="context" id="c140233107140672">
<ol start="671" class="context-line">
<li onclick="toggle('pre140233107140672', 'post140233107140672')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107140672')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107140672">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>module</td>
<td class="code"><pre><module 'hello.urls' from '/app/hello/urls.py'></pre></td>
</tr>
<tr>
<td>spec</td>
<td class="code"><pre>ModuleSpec(name='hello.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a90812a90>, origin='/app/hello/urls.py')</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap_external></code>, line 843, in exec_module
<div class="context" id="c140233107141184">
<ol start="843" class="context-line">
<li onclick="toggle('pre140233107141184', 'post140233107141184')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107141184')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107141184">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td class="code"><pre><code object <module> at 0x7f8a901ff710, file "/app/hello/urls.py", line 1></pre></td>
</tr>
<tr>
<td>module</td>
<td class="code"><pre><module 'hello.urls' from '/app/hello/urls.py'></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre><_frozen_importlib_external.SourceFileLoader object at 0x7f8a90812a90></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname"><frozen importlib._bootstrap></code>, line 219, in _call_with_frames_removed
<div class="context" id="c140233107143936">
<ol start="219" class="context-line">
<li onclick="toggle('pre140233107143936', 'post140233107143936')"><pre><source code not available></pre> <span>…</span></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107143936')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107143936">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>args</td>
<td class="code"><pre>(<code object <module> at 0x7f8a901ff710, file "/app/hello/urls.py", line 1>,
{'__builtins__': {'ArithmeticError': <class 'ArithmeticError'>,
'AssertionError': <class 'AssertionError'>,
'AttributeError': <class 'AttributeError'>,
'BaseException': <class 'BaseException'>,
'BlockingIOError': <class 'BlockingIOError'>,
'BrokenPipeError': <class 'BrokenPipeError'>,
'BufferError': <class 'BufferError'>,
'BytesWarning': <class 'BytesWarning'>,
'ChildProcessError': <class 'ChildProcessError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionError': <class 'ConnectionError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>,
'DeprecationWarning': <class 'DeprecationWarning'>,
'EOFError': <class 'EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <class 'OSError'>,
'Exception': <class 'Exception'>,
'False': False,
'FileExistsError': <class 'FileExistsError'>,
'FileNotFoundError': <class 'FileNotFoundError'>,
'FloatingPointError': <class 'FloatingPointError'>,
'FutureWarning': <class 'FutureWarning'>,
'GeneratorExit': <class 'GeneratorExit'>,
'IOError': <class 'OSError'>,
'ImportError': <class 'ImportError'>,
'ImportWarning': <class 'ImportWarning'>,
'IndentationError': <class 'IndentationError'>,
'IndexError': <class 'IndexError'>,
'InterruptedError': <class 'InterruptedError'>,
'IsADirectoryError': <class 'IsADirectoryError'>,
'KeyError': <class 'KeyError'>,
'KeyboardInterrupt': <class 'KeyboardInterrupt'>,
'LookupError': <class 'LookupError'>,
'MemoryError': <class 'MemoryError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>,
'NameError': <class 'NameError'>,
'None': None,
'NotADirectoryError': <class 'NotADirectoryError'>,
'NotImplemented': NotImplemented,
'NotImplementedError': <class 'NotImplementedError'>,
'OSError': <class 'OSError'>,
'OverflowError': <class 'OverflowError'>,
'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
'PermissionError': <class 'PermissionError'>,
'ProcessLookupError': <class 'ProcessLookupError'>,
'RecursionError': <class 'RecursionError'>,
'ReferenceError': <class 'ReferenceError'>,
'ResourceWarning': <class 'ResourceWarning'>,
'RuntimeError': <class 'RuntimeError'>,
'RuntimeWarning': <class 'RuntimeWarning'>,
'StopAsyncIteration': <class 'StopAsyncIteration'>,
'StopIteration': <class 'StopIteration'>,
'SyntaxError': <class 'SyntaxError'>,
'SyntaxWarning': <class 'SyntaxWarning'>,
'SystemError': <class 'SystemError'>,
'SystemExit': <class 'SystemExit'>,
'TabError': <class 'TabError'>,
'TimeoutError': <class 'TimeoutError'>,
'True': True,
'TypeError': <class 'TypeError'>,
'UnboundLocalError': <class 'UnboundLocalError'>,
'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>,
'UnicodeError': <class 'UnicodeError'>,
'UnicodeTra… <trimmed 10135 bytes string></pre></td>
</tr>
<tr>
<td>f</td>
<td class="code"><pre><built-in function exec></pre></td>
</tr>
<tr>
<td>kwds</td>
<td class="code"><pre>{}</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/app/hello/urls.py</code>, line 2, in <module>
<div class="context" id="c140233100316544">
<ol start="1" class="pre-context" id="pre140233100316544">
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre>from django.urls import path</pre></li>
</ol>
<ol start="2" class="context-line">
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre>from hello import views</pre> <span>…</span></li>
</ol>
<ol start='3' class="post-context" id="post140233100316544">
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre></pre></li>
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre>urlpatterns = [</pre></li>
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre> path("", views.home, name="home"),</pre></li>
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre> path("text_summary/", views.text_summary, name="bart summarizing"),</pre></li>
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre> path("getsummary/", views.getsummary, name="bart summarizing"),</pre></li>
<li onclick="toggle('pre140233100316544', 'post140233100316544')"><pre> path("title_summary/", views.title_summary, name="title summarizing"),</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100316544')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100316544">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>__builtins__</td>
<td class="code"><pre>{'ArithmeticError': <class 'ArithmeticError'>,
'AssertionError': <class 'AssertionError'>,
'AttributeError': <class 'AttributeError'>,
'BaseException': <class 'BaseException'>,
'BlockingIOError': <class 'BlockingIOError'>,
'BrokenPipeError': <class 'BrokenPipeError'>,
'BufferError': <class 'BufferError'>,
'BytesWarning': <class 'BytesWarning'>,
'ChildProcessError': <class 'ChildProcessError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionError': <class 'ConnectionError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>,
'DeprecationWarning': <class 'DeprecationWarning'>,
'EOFError': <class 'EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <class 'OSError'>,
'Exception': <class 'Exception'>,
'False': False,
'FileExistsError': <class 'FileExistsError'>,
'FileNotFoundError': <class 'FileNotFoundError'>,
'FloatingPointError': <class 'FloatingPointError'>,
'FutureWarning': <class 'FutureWarning'>,
'GeneratorExit': <class 'GeneratorExit'>,
'IOError': <class 'OSError'>,
'ImportError': <class 'ImportError'>,
'ImportWarning': <class 'ImportWarning'>,
'IndentationError': <class 'IndentationError'>,
'IndexError': <class 'IndexError'>,
'InterruptedError': <class 'InterruptedError'>,
'IsADirectoryError': <class 'IsADirectoryError'>,
'KeyError': <class 'KeyError'>,
'KeyboardInterrupt': <class 'KeyboardInterrupt'>,
'LookupError': <class 'LookupError'>,
'MemoryError': <class 'MemoryError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>,
'NameError': <class 'NameError'>,
'None': None,
'NotADirectoryError': <class 'NotADirectoryError'>,
'NotImplemented': NotImplemented,
'NotImplementedError': <class 'NotImplementedError'>,
'OSError': <class 'OSError'>,
'OverflowError': <class 'OverflowError'>,
'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
'PermissionError': <class 'PermissionError'>,
'ProcessLookupError': <class 'ProcessLookupError'>,
'RecursionError': <class 'RecursionError'>,
'ReferenceError': <class 'ReferenceError'>,
'ResourceWarning': <class 'ResourceWarning'>,
'RuntimeError': <class 'RuntimeError'>,
'RuntimeWarning': <class 'RuntimeWarning'>,
'StopAsyncIteration': <class 'StopAsyncIteration'>,
'StopIteration': <class 'StopIteration'>,
'SyntaxError': <class 'SyntaxError'>,
'SyntaxWarning': <class 'SyntaxWarning'>,
'SystemError': <class 'SystemError'>,
'SystemExit': <class 'SystemExit'>,
'TabError': <class 'TabError'>,
'TimeoutError': <class 'TimeoutError'>,
'True': True,
'TypeError': <class 'TypeError'>,
'UnboundLocalError': <class 'UnboundLocalError'>,
'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>,
'UnicodeError': <class 'UnicodeError'>,
'UnicodeTranslateError': <class 'UnicodeTranslateError'>,
'UnicodeWarning': <class 'UnicodeWarning'>,
'UserWarning': <class 'UserWarning'>,
'ValueError': <class 'ValueError'>,
'Warning': <class 'Warning'>,
'ZeroDivisionError': <class 'ZeroDivisionError'>,
'__build_class__': <built-in function __build_class__>,
'__debug__': True,
'__doc__': 'Built-in functions, exceptions, and other objects.\n'
'\n'
"Noteworthy: None is the `nil' object; Ellipsis represents `...' "
'in slices.',
'__import__': <built-in function __import__>,
'__loader__': <class '_frozen_importlib.BuiltinImporter'>,
'__name__': 'builtins',
'__package__': '',
'__pybind11_internals_v4_gcc_libstdcpp_cxxabi1011__': <capsule object NULL at 0x7f8af267ed50>,
'__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>),
'abs': <built-in function abs>,
'all': <built-in function all>,
'any': <built-in function any>,
'ascii': <built-in function ascii>,
'bin': <built-in function bin>,
'bool': <class 'bool'>,
'breakpoint': <built-in function breakpoint>,
'bytearray': <class 'bytearray'>,
'bytes': <class 'bytes'>,
'callable': <built-in function callable>,
'chr': <built-in function chr>,
'classmethod': <class 'class… <trimmed 6683 bytes string></pre></td>
</tr>
<tr>
<td>__cached__</td>
<td class="code"><pre>'/app/hello/__pycache__/urls.cpython-38.pyc'</pre></td>
</tr>
<tr>
<td>__doc__</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>__file__</td>
<td class="code"><pre>'/app/hello/urls.py'</pre></td>
</tr>
<tr>
<td>__loader__</td>
<td class="code"><pre><_frozen_importlib_external.SourceFileLoader object at 0x7f8a90812a90></pre></td>
</tr>
<tr>
<td>__name__</td>
<td class="code"><pre>'hello.urls'</pre></td>
</tr>
<tr>
<td>__package__</td>
<td class="code"><pre>'hello'</pre></td>
</tr>
<tr>
<td>__spec__</td>
<td class="code"><pre>ModuleSpec(name='hello.urls', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a90812a90>, origin='/app/hello/urls.py')</pre></td>
</tr>
<tr>
<td>path</td>
<td class="code"><pre>functools.partial(<function _path at 0x7f8b1d673700>, Pattern=<class 'django.urls.resolvers.RoutePattern'>)</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/app/hello/views.py</code>, line 4, in <module>
<div class="context" id="c140233107140864">
<ol start="1" class="pre-context" id="pre140233107140864">
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>from django.http import HttpResponse</pre></li>
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>from django.http.response import FileResponse</pre></li>
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>from django.views.decorators.csrf import csrf_exempt</pre></li>
</ol>
<ol start="4" class="context-line">
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>from hello import config</pre> <span>…</span></li>
</ol>
<ol start='5' class="post-context" id="post140233107140864">
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>import json</pre></li>
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>#from transformers import pipeline</pre></li>
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>#from keytotext import pipeline</pre></li>
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre>import http</pre></li>
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre></pre></li>
<li onclick="toggle('pre140233107140864', 'post140233107140864')"><pre></pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233107140864')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233107140864">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>FileResponse</td>
<td class="code"><pre><class 'django.http.response.FileResponse'></pre></td>
</tr>
<tr>
<td>HttpResponse</td>
<td class="code"><pre><class 'django.http.response.HttpResponse'></pre></td>
</tr>
<tr>
<td>__builtins__</td>
<td class="code"><pre>{'ArithmeticError': <class 'ArithmeticError'>,
'AssertionError': <class 'AssertionError'>,
'AttributeError': <class 'AttributeError'>,
'BaseException': <class 'BaseException'>,
'BlockingIOError': <class 'BlockingIOError'>,
'BrokenPipeError': <class 'BrokenPipeError'>,
'BufferError': <class 'BufferError'>,
'BytesWarning': <class 'BytesWarning'>,
'ChildProcessError': <class 'ChildProcessError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionError': <class 'ConnectionError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>,
'DeprecationWarning': <class 'DeprecationWarning'>,
'EOFError': <class 'EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <class 'OSError'>,
'Exception': <class 'Exception'>,
'False': False,
'FileExistsError': <class 'FileExistsError'>,
'FileNotFoundError': <class 'FileNotFoundError'>,
'FloatingPointError': <class 'FloatingPointError'>,
'FutureWarning': <class 'FutureWarning'>,
'GeneratorExit': <class 'GeneratorExit'>,
'IOError': <class 'OSError'>,
'ImportError': <class 'ImportError'>,
'ImportWarning': <class 'ImportWarning'>,
'IndentationError': <class 'IndentationError'>,
'IndexError': <class 'IndexError'>,
'InterruptedError': <class 'InterruptedError'>,
'IsADirectoryError': <class 'IsADirectoryError'>,
'KeyError': <class 'KeyError'>,
'KeyboardInterrupt': <class 'KeyboardInterrupt'>,
'LookupError': <class 'LookupError'>,
'MemoryError': <class 'MemoryError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>,
'NameError': <class 'NameError'>,
'None': None,
'NotADirectoryError': <class 'NotADirectoryError'>,
'NotImplemented': NotImplemented,
'NotImplementedError': <class 'NotImplementedError'>,
'OSError': <class 'OSError'>,
'OverflowError': <class 'OverflowError'>,
'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
'PermissionError': <class 'PermissionError'>,
'ProcessLookupError': <class 'ProcessLookupError'>,
'RecursionError': <class 'RecursionError'>,
'ReferenceError': <class 'ReferenceError'>,
'ResourceWarning': <class 'ResourceWarning'>,
'RuntimeError': <class 'RuntimeError'>,
'RuntimeWarning': <class 'RuntimeWarning'>,
'StopAsyncIteration': <class 'StopAsyncIteration'>,
'StopIteration': <class 'StopIteration'>,
'SyntaxError': <class 'SyntaxError'>,
'SyntaxWarning': <class 'SyntaxWarning'>,
'SystemError': <class 'SystemError'>,
'SystemExit': <class 'SystemExit'>,
'TabError': <class 'TabError'>,
'TimeoutError': <class 'TimeoutError'>,
'True': True,
'TypeError': <class 'TypeError'>,
'UnboundLocalError': <class 'UnboundLocalError'>,
'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>,
'UnicodeError': <class 'UnicodeError'>,
'UnicodeTranslateError': <class 'UnicodeTranslateError'>,
'UnicodeWarning': <class 'UnicodeWarning'>,
'UserWarning': <class 'UserWarning'>,
'ValueError': <class 'ValueError'>,
'Warning': <class 'Warning'>,
'ZeroDivisionError': <class 'ZeroDivisionError'>,
'__build_class__': <built-in function __build_class__>,
'__debug__': True,
'__doc__': 'Built-in functions, exceptions, and other objects.\n'
'\n'
"Noteworthy: None is the `nil' object; Ellipsis represents `...' "
'in slices.',
'__import__': <built-in function __import__>,
'__loader__': <class '_frozen_importlib.BuiltinImporter'>,
'__name__': 'builtins',
'__package__': '',
'__pybind11_internals_v4_gcc_libstdcpp_cxxabi1011__': <capsule object NULL at 0x7f8af267ed50>,
'__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>),
'abs': <built-in function abs>,
'all': <built-in function all>,
'any': <built-in function any>,
'ascii': <built-in function ascii>,
'bin': <built-in function bin>,
'bool': <class 'bool'>,
'breakpoint': <built-in function breakpoint>,
'bytearray': <class 'bytearray'>,
'bytes': <class 'bytes'>,
'callable': <built-in function callable>,
'chr': <built-in function chr>,
'classmethod': <class 'class… <trimmed 6683 bytes string></pre></td>
</tr>
<tr>
<td>__cached__</td>
<td class="code"><pre>'/app/hello/__pycache__/views.cpython-38.pyc'</pre></td>
</tr>
<tr>
<td>__doc__</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>__file__</td>
<td class="code"><pre>'/app/hello/views.py'</pre></td>
</tr>
<tr>
<td>__loader__</td>
<td class="code"><pre><_frozen_importlib_external.SourceFileLoader object at 0x7f8a90022400></pre></td>
</tr>
<tr>
<td>__name__</td>
<td class="code"><pre>'hello.views'</pre></td>
</tr>
<tr>
<td>__package__</td>
<td class="code"><pre>'hello'</pre></td>
</tr>
<tr>
<td>__spec__</td>
<td class="code"><pre>ModuleSpec(name='hello.views', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a90022400>, origin='/app/hello/views.py')</pre></td>
</tr>
<tr>
<td>csrf_exempt</td>
<td class="code"><pre><function csrf_exempt at 0x7f8b1d64c1f0></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/app/hello/config.py</code>, line 17, in <module>
<div class="context" id="c140233261106944">
<ol start="10" class="pre-context" id="pre140233261106944">
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>#tokenizer = PegasusTokenizer.from_pretrained('google/pegasus-reddit_tifu')</pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre></pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre></pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>#model = BartForConditionalGeneration.from_pretrained('facebook/bart-large-cnn').to(device)</pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>#tokenizer = BartTokenizer.from_pretrained('facebook/bart-large-cnn')</pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre></pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>#model = BartForConditionalGeneration.from_pretrained('philschmid/bart-large-cnn-samsum').to(device)</pre></li>
</ol>
<ol start="17" class="context-line">
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>model = BartForConditionalGeneration.from_pretrained('./bart-large-cnn-samsum').to(device)</pre> <span>…</span></li>
</ol>
<ol start='18' class="post-context" id="post140233261106944">
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre></pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>#model.save_pretrained("./bart-large-cnn-samsum")</pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre></pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>#tokenizer = BartTokenizer.from_pretrained('philschmid/bart-large-cnn-samsum')</pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre>tokenizer = BartTokenizer.from_pretrained('./bart-large-cnn-samsum')</pre></li>
<li onclick="toggle('pre140233261106944', 'post140233261106944')"><pre></pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233261106944')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233261106944">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>BartConfig</td>
<td class="code"><pre><class 'transformers.models.bart.configuration_bart.BartConfig'></pre></td>
</tr>
<tr>
<td>BartForConditionalGeneration</td>
<td class="code"><pre><class 'transformers.models.bart.modeling_bart.BartForConditionalGeneration'></pre></td>
</tr>
<tr>
<td>BartTokenizer</td>
<td class="code"><pre><class 'transformers.models.bart.tokenization_bart.BartTokenizer'></pre></td>
</tr>
<tr>
<td>__builtins__</td>
<td class="code"><pre>{'ArithmeticError': <class 'ArithmeticError'>,
'AssertionError': <class 'AssertionError'>,
'AttributeError': <class 'AttributeError'>,
'BaseException': <class 'BaseException'>,
'BlockingIOError': <class 'BlockingIOError'>,
'BrokenPipeError': <class 'BrokenPipeError'>,
'BufferError': <class 'BufferError'>,
'BytesWarning': <class 'BytesWarning'>,
'ChildProcessError': <class 'ChildProcessError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionError': <class 'ConnectionError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>,
'DeprecationWarning': <class 'DeprecationWarning'>,
'EOFError': <class 'EOFError'>,
'Ellipsis': Ellipsis,
'EnvironmentError': <class 'OSError'>,
'Exception': <class 'Exception'>,
'False': False,
'FileExistsError': <class 'FileExistsError'>,
'FileNotFoundError': <class 'FileNotFoundError'>,
'FloatingPointError': <class 'FloatingPointError'>,
'FutureWarning': <class 'FutureWarning'>,
'GeneratorExit': <class 'GeneratorExit'>,
'IOError': <class 'OSError'>,
'ImportError': <class 'ImportError'>,
'ImportWarning': <class 'ImportWarning'>,
'IndentationError': <class 'IndentationError'>,
'IndexError': <class 'IndexError'>,
'InterruptedError': <class 'InterruptedError'>,
'IsADirectoryError': <class 'IsADirectoryError'>,
'KeyError': <class 'KeyError'>,
'KeyboardInterrupt': <class 'KeyboardInterrupt'>,
'LookupError': <class 'LookupError'>,
'MemoryError': <class 'MemoryError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>,
'NameError': <class 'NameError'>,
'None': None,
'NotADirectoryError': <class 'NotADirectoryError'>,
'NotImplemented': NotImplemented,
'NotImplementedError': <class 'NotImplementedError'>,
'OSError': <class 'OSError'>,
'OverflowError': <class 'OverflowError'>,
'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
'PermissionError': <class 'PermissionError'>,
'ProcessLookupError': <class 'ProcessLookupError'>,
'RecursionError': <class 'RecursionError'>,
'ReferenceError': <class 'ReferenceError'>,
'ResourceWarning': <class 'ResourceWarning'>,
'RuntimeError': <class 'RuntimeError'>,
'RuntimeWarning': <class 'RuntimeWarning'>,
'StopAsyncIteration': <class 'StopAsyncIteration'>,
'StopIteration': <class 'StopIteration'>,
'SyntaxError': <class 'SyntaxError'>,
'SyntaxWarning': <class 'SyntaxWarning'>,
'SystemError': <class 'SystemError'>,
'SystemExit': <class 'SystemExit'>,
'TabError': <class 'TabError'>,
'TimeoutError': <class 'TimeoutError'>,
'True': True,
'TypeError': <class 'TypeError'>,
'UnboundLocalError': <class 'UnboundLocalError'>,
'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>,
'UnicodeError': <class 'UnicodeError'>,
'UnicodeTranslateError': <class 'UnicodeTranslateError'>,
'UnicodeWarning': <class 'UnicodeWarning'>,
'UserWarning': <class 'UserWarning'>,
'ValueError': <class 'ValueError'>,
'Warning': <class 'Warning'>,
'ZeroDivisionError': <class 'ZeroDivisionError'>,
'__build_class__': <built-in function __build_class__>,
'__debug__': True,
'__doc__': 'Built-in functions, exceptions, and other objects.\n'
'\n'
"Noteworthy: None is the `nil' object; Ellipsis represents `...' "
'in slices.',
'__import__': <built-in function __import__>,
'__loader__': <class '_frozen_importlib.BuiltinImporter'>,
'__name__': 'builtins',
'__package__': '',
'__pybind11_internals_v4_gcc_libstdcpp_cxxabi1011__': <capsule object NULL at 0x7f8af267ed50>,
'__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>),
'abs': <built-in function abs>,
'all': <built-in function all>,
'any': <built-in function any>,
'ascii': <built-in function ascii>,
'bin': <built-in function bin>,
'bool': <class 'bool'>,
'breakpoint': <built-in function breakpoint>,
'bytearray': <class 'bytearray'>,
'bytes': <class 'bytes'>,
'callable': <built-in function callable>,
'chr': <built-in function chr>,
'classmethod': <class 'class… <trimmed 6683 bytes string></pre></td>
</tr>
<tr>
<td>__cached__</td>
<td class="code"><pre>'/app/hello/__pycache__/config.cpython-38.pyc'</pre></td>
</tr>
<tr>
<td>__doc__</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>__file__</td>
<td class="code"><pre>'/app/hello/config.py'</pre></td>
</tr>
<tr>
<td>__loader__</td>
<td class="code"><pre><_frozen_importlib_external.SourceFileLoader object at 0x7f8a907e2190></pre></td>
</tr>
<tr>
<td>__name__</td>
<td class="code"><pre>'hello.config'</pre></td>
</tr>
<tr>
<td>__package__</td>
<td class="code"><pre>'hello'</pre></td>
</tr>
<tr>
<td>__spec__</td>
<td class="code"><pre>ModuleSpec(name='hello.config', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7f8a907e2190>, origin='/app/hello/config.py')</pre></td>
</tr>
<tr>
<td>device</td>
<td class="code"><pre>device(type='cuda')</pre></td>
</tr>
<tr>
<td>torch</td>
<td class="code"><pre><module 'torch' from '/usr/local/lib/python3.8/site-packages/torch/__init__.py'></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py</code>, line 852, in to
<div class="context" id="c140233102736960">
<ol start="845" class="pre-context" id="pre140233102736960">
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre></pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> def convert(t):</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> if convert_to_format is not None and t.dim() in (4, 5):</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None,</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> non_blocking, memory_format=convert_to_format)</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre></pre></li>
</ol>
<ol start="852" class="context-line">
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> return self._apply(convert)</pre> <span>…</span></li>
</ol>
<ol start='853' class="post-context" id="post140233102736960">
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre></pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> def register_backward_hook(</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> self, hook: Callable[['Module', _grad_t, _grad_t], Union[None, Tensor]]</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> ) -> RemovableHandle:</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre> r"""Registers a backward hook on the module.</pre></li>
<li onclick="toggle('pre140233102736960', 'post140233102736960')"><pre></pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233102736960')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233102736960">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>args</td>
<td class="code"><pre>(device(type='cuda'),)</pre></td>
</tr>
<tr>
<td>convert</td>
<td class="code"><pre><function Module.to.<locals>.convert at 0x7f8a9896c8b0></pre></td>
</tr>
<tr>
<td>convert_to_format</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>device</td>
<td class="code"><pre>device(type='cuda')</pre></td>
</tr>
<tr>
<td>dtype</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>kwargs</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>non_blocking</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>BartForConditionalGeneration(
(model): BartModel(
(shared): Embedding(50264, 1024, padding_idx=1)
(encoder): BartEncoder(
(embed_tokens): Embedding(50264, 1024, padding_idx=1)
(embed_positions): BartLearnedPositionalEmbedding(1026, 1024)
(layers): ModuleList(
(0): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(1): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(2): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(3): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(4): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(5): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, b… <trimmed 23463 bytes string></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py</code>, line 530, in _apply
<div class="context" id="c140233100067648">
<ol start="523" class="pre-context" id="pre140233100067648">
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> if buffer not in mod._buffers.values():</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> raise AttributeError("`" + buffer_name + "` is not a buffer")</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre></pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> return buffer</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre></pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> def _apply(self, fn):</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> for module in self.children():</pre></li>
</ol>
<ol start="530" class="context-line">
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> module._apply(fn)</pre> <span>…</span></li>
</ol>
<ol start='531' class="post-context" id="post140233100067648">
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre></pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> def compute_should_use_set_data(tensor, tensor_applied):</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> if torch._has_compatible_shallow_copy_type(tensor, tensor_applied):</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> # If the new tensor has compatible tensor type as the existing tensor,</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> # the current behavior is to change the tensor in-place using `.data =`,</pre></li>
<li onclick="toggle('pre140233100067648', 'post140233100067648')"><pre> # and the future behavior is to overwrite the existing tensor. However,</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100067648')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100067648">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>fn</td>
<td class="code"><pre><function Module.to.<locals>.convert at 0x7f8a9896c8b0></pre></td>
</tr>
<tr>
<td>module</td>
<td class="code"><pre>BartModel(
(shared): Embedding(50264, 1024, padding_idx=1)
(encoder): BartEncoder(
(embed_tokens): Embedding(50264, 1024, padding_idx=1)
(embed_positions): BartLearnedPositionalEmbedding(1026, 1024)
(layers): ModuleList(
(0): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(1): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(2): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(3): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(4): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(5): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
… <trimmed 22574 bytes string></pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>BartForConditionalGeneration(
(model): BartModel(
(shared): Embedding(50264, 1024, padding_idx=1)
(encoder): BartEncoder(
(embed_tokens): Embedding(50264, 1024, padding_idx=1)
(embed_positions): BartLearnedPositionalEmbedding(1026, 1024)
(layers): ModuleList(
(0): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(1): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(2): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(3): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(4): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(5): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, b… <trimmed 23463 bytes string></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py</code>, line 530, in _apply
<div class="context" id="c140233100067456">
<ol start="523" class="pre-context" id="pre140233100067456">
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> if buffer not in mod._buffers.values():</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> raise AttributeError("`" + buffer_name + "` is not a buffer")</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre></pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> return buffer</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre></pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> def _apply(self, fn):</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> for module in self.children():</pre></li>
</ol>
<ol start="530" class="context-line">
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> module._apply(fn)</pre> <span>…</span></li>
</ol>
<ol start='531' class="post-context" id="post140233100067456">
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre></pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> def compute_should_use_set_data(tensor, tensor_applied):</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> if torch._has_compatible_shallow_copy_type(tensor, tensor_applied):</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> # If the new tensor has compatible tensor type as the existing tensor,</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> # the current behavior is to change the tensor in-place using `.data =`,</pre></li>
<li onclick="toggle('pre140233100067456', 'post140233100067456')"><pre> # and the future behavior is to overwrite the existing tensor. However,</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100067456')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100067456">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>fn</td>
<td class="code"><pre><function Module.to.<locals>.convert at 0x7f8a9896c8b0></pre></td>
</tr>
<tr>
<td>module</td>
<td class="code"><pre>Embedding(50264, 1024, padding_idx=1)</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>BartModel(
(shared): Embedding(50264, 1024, padding_idx=1)
(encoder): BartEncoder(
(embed_tokens): Embedding(50264, 1024, padding_idx=1)
(embed_positions): BartLearnedPositionalEmbedding(1026, 1024)
(layers): ModuleList(
(0): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(1): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(2): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(3): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(4): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
(self_attn_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
(fc1): Linear(in_features=1024, out_features=4096, bias=True)
(fc2): Linear(in_features=4096, out_features=1024, bias=True)
(final_layer_norm): LayerNorm((1024,), eps=1e-05, elementwise_affine=True)
)
(5): BartEncoderLayer(
(self_attn): BartAttention(
(k_proj): Linear(in_features=1024, out_features=1024, bias=True)
(v_proj): Linear(in_features=1024, out_features=1024, bias=True)
(q_proj): Linear(in_features=1024, out_features=1024, bias=True)
(out_proj): Linear(in_features=1024, out_features=1024, bias=True)
)
… <trimmed 22574 bytes string></pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py</code>, line 552, in _apply
<div class="context" id="c140234745459264">
<ol start="545" class="pre-context" id="pre140234745459264">
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre></pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> for key, param in self._parameters.items():</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> if param is not None:</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> # Tensors stored in modules are graph leaves, and we don't want to</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> # track autograd history of `param_applied`, so we have to use</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> # `with torch.no_grad():`</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> with torch.no_grad():</pre></li>
</ol>
<ol start="552" class="context-line">
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> param_applied = fn(param)</pre> <span>…</span></li>
</ol>
<ol start='553' class="post-context" id="post140234745459264">
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> should_use_set_data = compute_should_use_set_data(param, param_applied)</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> if should_use_set_data:</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> param.data = param_applied</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> else:</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> assert isinstance(param, Parameter)</pre></li>
<li onclick="toggle('pre140234745459264', 'post140234745459264')"><pre> assert param.is_leaf</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140234745459264')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140234745459264">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>compute_should_use_set_data</td>
<td class="code"><pre><function Module._apply.<locals>.compute_should_use_set_data at 0x7f8a7c3d7f70></pre></td>
</tr>
<tr>
<td>fn</td>
<td class="code"><pre><function Module.to.<locals>.convert at 0x7f8a9896c8b0></pre></td>
</tr>
<tr>
<td>key</td>
<td class="code"><pre>'weight'</pre></td>
</tr>
<tr>
<td>param</td>
<td class="code"><pre>Parameter containing:
tensor([[-0.0369, 0.0776, 0.1635, ..., 0.1835, 0.0585, -0.0668],
[ 0.0047, -0.0052, -0.0424, ..., -0.0111, 0.0030, 0.0034],
[-0.0474, 0.4567, -0.0645, ..., 0.1058, 0.0345, 0.0481],
...,
[-0.0241, 0.0185, -0.0443, ..., -0.0071, -0.0530, -0.0246],
[-0.0175, 0.0072, -0.0462, ..., 0.0272, -0.0129, 0.0078],
[-0.0118, 0.0072, -0.0543, ..., 0.0351, 0.0095, 0.0030]],
requires_grad=True)</pre></td>
</tr>
<tr>
<td>self</td>
<td class="code"><pre>Embedding(50264, 1024, padding_idx=1)</pre></td>
</tr>
</tbody>
</table>
</li>
<li class="frame user">
<code class="fname">/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py</code>, line 850, in convert
<div class="context" id="c140233100640640">
<ol start="843" class="pre-context" id="pre140233100640640">
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> "Please file an issue at https://github.com/pytorch/pytorch/issues/new?template=bug-report.md "</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> "if a complex module does not work as expected.")</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre></pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> def convert(t):</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> if convert_to_format is not None and t.dim() in (4, 5):</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None,</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> non_blocking, memory_format=convert_to_format)</pre></li>
</ol>
<ol start="850" class="context-line">
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)</pre> <span>…</span></li>
</ol>
<ol start='851' class="post-context" id="post140233100640640">
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre></pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> return self._apply(convert)</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre></pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> def register_backward_hook(</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> self, hook: Callable[['Module', _grad_t, _grad_t], Union[None, Tensor]]</pre></li>
<li onclick="toggle('pre140233100640640', 'post140233100640640')"><pre> ) -> RemovableHandle:</pre></li>
</ol>
</div>
<div class="commands">
<a href="#" onclick="return varToggle(this, '140233100640640')"><span>▶</span> Local vars</a>
</div>
<table class="vars" id="v140233100640640">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>convert_to_format</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>device</td>
<td class="code"><pre>device(type='cuda')</pre></td>
</tr>
<tr>
<td>dtype</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>non_blocking</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>t</td>
<td class="code"><pre>Parameter containing:
tensor([[-0.0369, 0.0776, 0.1635, ..., 0.1835, 0.0585, -0.0668],
[ 0.0047, -0.0052, -0.0424, ..., -0.0111, 0.0030, 0.0034],
[-0.0474, 0.4567, -0.0645, ..., 0.1058, 0.0345, 0.0481],
...,
[-0.0241, 0.0185, -0.0443, ..., -0.0071, -0.0530, -0.0246],
[-0.0175, 0.0072, -0.0462, ..., 0.0272, -0.0129, 0.0078],
[-0.0118, 0.0072, -0.0543, ..., 0.0351, 0.0095, 0.0030]],
requires_grad=True)</pre></td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<form action="http://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="RuntimeError at /getsummary/">
<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: POST
Request URL: http://192.168.1.191:4080/getsummary/?min=16&max=1000
Django Version: 3.1.1
Python Version: 3.8.12
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 165, in _get_response
callback, callback_args, callback_kwargs = self.resolve_request(request)
File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 288, in resolve_request
resolver_match = resolver.resolve(request.path_info)
File "/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py", line 545, in resolve
for pattern in self.url_patterns:
File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py", line 589, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python3.8/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py", line 582, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
<source code not available>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
<source code not available>
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
<source code not available>
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
<source code not available>
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
<source code not available>
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
<source code not available>
File "/app/web_project/urls.py", line 5, in <module>
path("", include("hello.urls")),
File "/usr/local/lib/python3.8/site-packages/django/urls/conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
<source code not available>
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
<source code not available>
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
<source code not available>
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
<source code not available>
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
<source code not available>
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
<source code not available>
File "/app/hello/urls.py", line 2, in <module>
from hello import views
File "/app/hello/views.py", line 4, in <module>
from hello import config
File "/app/hello/config.py", line 17, in <module>
model = BartForConditionalGeneration.from_pretrained('./bart-large-cnn-samsum').to(device)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 852, in to
return self._apply(convert)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 530, in _apply
module._apply(fn)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 530, in _apply
module._apply(fn)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 552, in _apply
param_applied = fn(param)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 850, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
Exception Type: RuntimeError at /getsummary/
Exception Value: CUDA error: out of memory
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
</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>
<table class="req">
<thead>
<tr>
<th>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>min</td>
<td class="code"><pre>'16'</pre></td>
</tr>
<tr>
<td>max</td>
<td class="code"><pre>'1000'</pre></td>
</tr>
</tbody>
</table>
<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>Variable</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>CONTENT_LENGTH</td>
<td class="code"><pre>'317'</pre></td>
</tr>
<tr>
<td>CONTENT_TYPE</td>
<td class="code"><pre>'text/plain; charset=utf-8'</pre></td>
</tr>
<tr>
<td>HTTP_ACCEPT_ENCODING</td>
<td class="code"><pre>'gzip, deflate, br'</pre></td>
</tr>
<tr>
<td>HTTP_HOST</td>
<td class="code"><pre>'192.168.1.191:4080'</pre></td>
</tr>
<tr>
<td>PATH_INFO</td>
<td class="code"><pre>'/getsummary/'</pre></td>
</tr>
<tr>
<td>QUERY_STRING</td>
<td class="code"><pre>'min=16&max=1000'</pre></td>
</tr>
<tr>
<td>RAW_URI</td>
<td class="code"><pre>'/getsummary/?min=16&max=1000'</pre></td>
</tr>
<tr>
<td>REMOTE_ADDR</td>
<td class="code"><pre>'192.168.1.190'</pre></td>
</tr>
<tr>
<td>REMOTE_PORT</td>
<td class="code"><pre>'34172'</pre></td>
</tr>
<tr>
<td>REQUEST_METHOD</td>
<td class="code"><pre>'POST'</pre></td>
</tr>
<tr>
<td>SCRIPT_NAME</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>SERVER_NAME</td>
<td class="code"><pre>'0.0.0.0'</pre></td>
</tr>
<tr>
<td>SERVER_PORT</td>
<td class="code"><pre>'4080'</pre></td>
</tr>
<tr>
<td>SERVER_PROTOCOL</td>
<td class="code"><pre>'HTTP/1.1'</pre></td>
</tr>
<tr>
<td>SERVER_SOFTWARE</td>
<td class="code"><pre>'gunicorn/20.0.4'</pre></td>
</tr>
<tr>
<td>gunicorn.socket</td>
<td class="code"><pre><socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.17.0.15', 4080), raddr=('192.168.1.190', 34172)></pre></td>
</tr>
<tr>
<td>wsgi.errors</td>
<td class="code"><pre><gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f8a9089a3d0></pre></td>
</tr>
<tr>
<td>wsgi.file_wrapper</td>
<td class="code"><pre><class 'gunicorn.http.wsgi.FileWrapper'></pre></td>
</tr>
<tr>
<td>wsgi.input</td>
<td class="code"><pre><gunicorn.http.body.Body object at 0x7f8a9089a4f0></pre></td>
</tr>
<tr>
<td>wsgi.input_terminated</td>
<td class="code"><pre>True</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>False</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>'http'</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>web_project.settings</code></h4>
<table class="req">
<thead>
<tr>
<th>Setting</th>
<th>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>ALLOWED_HOSTS</td>
<td class="code"><pre>['*']</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>['django.contrib.auth.backends.ModelBackend']</pre></td>
</tr>
<tr>
<td>AUTH_PASSWORD_VALIDATORS</td>
<td class="code"><pre>'********************'</pre></td>
</tr>
<tr>
<td>AUTH_USER_MODEL</td>
<td class="code"><pre>'auth.User'</pre></td>
</tr>
<tr>
<td>BASE_DIR</td>
<td class="code"><pre>PosixPath('/app')</pre></td>
</tr>
<tr>
<td>CACHES</td>
<td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_ALIAS</td>
<td class="code"><pre>'default'</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_KEY_PREFIX</td>
<td class="code"><pre>'********************'</pre></td>
</tr>
<tr>
<td>CACHE_MIDDLEWARE_SECONDS</td>
<td class="code"><pre>600</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>False</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_NAME</td>
<td class="code"><pre>'csrftoken'</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_PATH</td>
<td class="code"><pre>'/'</pre></td>
</tr>
<tr>
<td>CSRF_COOKIE_SAMESITE</td>
<td class="code"><pre>'Lax'</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>'django.views.csrf.csrf_failure'</pre></td>
</tr>
<tr>
<td>CSRF_HEADER_NAME</td>
<td class="code"><pre>'HTTP_X_CSRFTOKEN'</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>{'default': {'ATOMIC_REQUESTS': False,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.sqlite3',
'HOST': '',
'NAME': PosixPath('/app/db.sqlite3'),
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIGRATE': True,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}</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>DATETIME_FORMAT</td>
<td class="code"><pre>'N j, Y, P'</pre></td>
</tr>
<tr>
<td>DATETIME_INPUT_FORMATS</td>
<td class="code"><pre>['%Y-%m-%d %H:%M:%S',
'%Y-%m-%d %H:%M:%S.%f',
'%Y-%m-%d %H:%M',
'%m/%d/%Y %H:%M:%S',
'%m/%d/%Y %H:%M:%S.%f',
'%m/%d/%Y %H:%M',
'%m/%d/%y %H:%M:%S',
'%m/%d/%y %H:%M:%S.%f',
'%m/%d/%y %H:%M']</pre></td>
</tr>
<tr>
<td>DATE_FORMAT</td>
<td class="code"><pre>'N j, Y'</pre></td>
</tr>
<tr>
<td>DATE_INPUT_FORMATS</td>
<td class="code"><pre>['%Y-%m-%d',
'%m/%d/%Y',
'%m/%d/%y',
'%b %d %Y',
'%b %d, %Y',
'%d %b %Y',
'%d %b, %Y',
'%B %d %Y',
'%B %d, %Y',
'%d %B %Y',
'%d %B, %Y']</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>'.'</pre></td>
</tr>
<tr>
<td>DEFAULT_AUTO_FIELD</td>
<td class="code"><pre>'django.db.models.BigAutoField'</pre></td>
</tr>
<tr>
<td>DEFAULT_CHARSET</td>
<td class="code"><pre>'utf-8'</pre></td>
</tr>
<tr>
<td>DEFAULT_EXCEPTION_REPORTER</td>
<td class="code"><pre>'django.views.debug.ExceptionReporter'</pre></td>
</tr>
<tr>
<td>DEFAULT_EXCEPTION_REPORTER_FILTER</td>
<td class="code"><pre>'django.views.debug.SafeExceptionReporterFilter'</pre></td>
</tr>
<tr>
<td>DEFAULT_FILE_STORAGE</td>
<td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td>
</tr>
<tr>
<td>DEFAULT_FROM_EMAIL</td>
<td class="code"><pre>'[email protected]'</pre></td>
</tr>
<tr>
<td>DEFAULT_HASHING_ALGORITHM</td>
<td class="code"><pre>'sha256'</pre></td>
</tr>
<tr>
<td>DEFAULT_INDEX_TABLESPACE</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>DEFAULT_TABLESPACE</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>DISALLOWED_USER_AGENTS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>EMAIL_BACKEND</td>
<td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td>
</tr>
<tr>
<td>EMAIL_HOST</td>
<td class="code"><pre>'localhost'</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_PASSWORD</td>
<td class="code"><pre>'********************'</pre></td>
</tr>
<tr>
<td>EMAIL_HOST_USER</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>EMAIL_PORT</td>
<td class="code"><pre>25</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>'********************'</pre></td>
</tr>
<tr>
<td>EMAIL_SUBJECT_PREFIX</td>
<td class="code"><pre>'[Django] '</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>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>FILE_UPLOAD_HANDLERS</td>
<td class="code"><pre>['django.core.files.uploadhandler.MemoryFileUploadHandler',
'django.core.files.uploadhandler.TemporaryFileUploadHandler']</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>'django.forms.renderers.DjangoTemplates'</pre></td>
</tr>
<tr>
<td>IGNORABLE_404_URLS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>INSTALLED_APPS</td>
<td class="code"><pre>['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles']</pre></td>
</tr>
<tr>
<td>INTERNAL_IPS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>LANGUAGES</td>
<td class="code"><pre>[('af', 'Afrikaans'),
('ar', 'Arabic'),
('ar-dz', 'Algerian Arabic'),
('ast', 'Asturian'),
('az', 'Azerbaijani'),
('bg', 'Bulgarian'),
('be', 'Belarusian'),
('bn', 'Bengali'),
('br', 'Breton'),
('bs', 'Bosnian'),
('ca', 'Catalan'),
('cs', 'Czech'),
('cy', 'Welsh'),
('da', 'Danish'),
('de', 'German'),
('dsb', 'Lower Sorbian'),
('el', 'Greek'),
('en', 'English'),
('en-au', 'Australian English'),
('en-gb', 'British English'),
('eo', 'Esperanto'),
('es', 'Spanish'),
('es-ar', 'Argentinian Spanish'),
('es-co', 'Colombian Spanish'),
('es-mx', 'Mexican Spanish'),
('es-ni', 'Nicaraguan Spanish'),
('es-ve', 'Venezuelan Spanish'),
('et', 'Estonian'),
('eu', 'Basque'),
('fa', 'Persian'),
('fi', 'Finnish'),
('fr', 'French'),
('fy', 'Frisian'),
('ga', 'Irish'),
('gd', 'Scottish Gaelic'),
('gl', 'Galician'),
('he', 'Hebrew'),
('hi', 'Hindi'),
('hr', 'Croatian'),
('hsb', 'Upper Sorbian'),
('hu', 'Hungarian'),
('hy', 'Armenian'),
('ia', 'Interlingua'),
('id', 'Indonesian'),
('ig', 'Igbo'),
('io', 'Ido'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('kab', 'Kabyle'),
('kk', 'Kazakh'),
('km', 'Khmer'),
('kn', 'Kannada'),
('ko', 'Korean'),
('ky', 'Kyrgyz'),
('lb', 'Luxembourgish'),
('lt', 'Lithuanian'),
('lv', 'Latvian'),
('mk', 'Macedonian'),
('ml', 'Malayalam'),
('mn', 'Mongolian'),
('mr', 'Marathi'),
('my', 'Burmese'),
('nb', 'Norwegian Bokmål'),
('ne', 'Nepali'),
('nl', 'Dutch'),
('nn', 'Norwegian Nynorsk'),
('os', 'Ossetic'),
('pa', 'Punjabi'),
('pl', 'Polish'),
('pt', 'Portuguese'),
('pt-br', 'Brazilian Portuguese'),
('ro', 'Romanian'),
('ru', 'Russian'),
('sk', 'Slovak'),
('sl', 'Slovenian'),
('sq', 'Albanian'),
('sr', 'Serbian'),
('sr-latn', 'Serbian Latin'),
('sv', 'Swedish'),
('sw', 'Swahili'),
('ta', 'Tamil'),
('te', 'Telugu'),
('tg', 'Tajik'),
('th', 'Thai'),
('tk', 'Turkmen'),
('tr', 'Turkish'),
('tt', 'Tatar'),
('udm', 'Udmurt'),
('uk', 'Ukrainian'),
('ur', 'Urdu'),
('uz', 'Uzbek'),
('vi', 'Vietnamese'),
('zh-hans', 'Simplified Chinese'),
('zh-hant', 'Traditional Chinese')]</pre></td>
</tr>
<tr>
<td>LANGUAGES_BIDI</td>
<td class="code"><pre>['he', 'ar', 'ar-dz', 'fa', 'ur']</pre></td>
</tr>
<tr>
<td>LANGUAGE_CODE</td>
<td class="code"><pre>'en-us'</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>'django_language'</pre></td>
</tr>
<tr>
<td>LANGUAGE_COOKIE_PATH</td>
<td class="code"><pre>'/'</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>LOCALE_PATHS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>LOGGING</td>
<td class="code"><pre>{}</pre></td>
</tr>
<tr>
<td>LOGGING_CONFIG</td>
<td class="code"><pre>'logging.config.dictConfig'</pre></td>
</tr>
<tr>
<td>LOGIN_REDIRECT_URL</td>
<td class="code"><pre>'/accounts/profile/'</pre></td>
</tr>
<tr>
<td>LOGIN_URL</td>
<td class="code"><pre>'/accounts/login/'</pre></td>
</tr>
<tr>
<td>LOGOUT_REDIRECT_URL</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>MANAGERS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>MEDIA_ROOT</td>
<td class="code"><pre>''</pre></td>
</tr>
<tr>
<td>MEDIA_URL</td>
<td class="code"><pre>'/'</pre></td>
</tr>
<tr>
<td>MESSAGE_STORAGE</td>
<td class="code"><pre>'django.contrib.messages.storage.fallback.FallbackStorage'</pre></td>
</tr>
<tr>
<td>MIDDLEWARE</td>
<td class="code"><pre>['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']</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>'F j'</pre></td>
</tr>
<tr>
<td>NUMBER_GROUPING</td>
<td class="code"><pre>0</pre></td>
</tr>
<tr>
<td>PASSWORD_HASHERS</td>
<td class="code"><pre>'********************'</pre></td>
</tr>
<tr>
<td>PASSWORD_RESET_TIMEOUT</td>
<td class="code"><pre>'********************'</pre></td>
</tr>
<tr>
<td>PASSWORD_RESET_TIMEOUT_DAYS</td>
<td class="code"><pre>'********************'</pre></td>
</tr>
<tr>
<td>PREPEND_WWW</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>ROOT_URLCONF</td>
<td class="code"><pre>'web_project.urls'</pre></td>
</tr>
<tr>
<td>SECRET_KEY</td>
<td class="code"><pre>'********************'</pre></td>
</tr>
<tr>
<td>SECURE_BROWSER_XSS_FILTER</td>
<td class="code"><pre>False</pre></td>
</tr>
<tr>
<td>SECURE_CONTENT_TYPE_NOSNIFF</td>
<td class="code"><pre>True</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>'same-origin'</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>'[email protected]'</pre></td>
</tr>
<tr>
<td>SESSION_CACHE_ALIAS</td>
<td class="code"><pre>'default'</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_AGE</td>
<td class="code"><pre>1209600</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>'sessionid'</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_PATH</td>
<td class="code"><pre>'/'</pre></td>
</tr>
<tr>
<td>SESSION_COOKIE_SAMESITE</td>
<td class="code"><pre>'Lax'</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>'django.contrib.sessions.backends.db'</pre></td>
</tr>
<tr>
<td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td>
<td class="code"><pre>False</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>False</pre></td>
</tr>
<tr>
<td>SESSION_SERIALIZER</td>
<td class="code"><pre>'django.contrib.sessions.serializers.JSONSerializer'</pre></td>
</tr>
<tr>
<td>SETTINGS_MODULE</td>
<td class="code"><pre>'web_project.settings'</pre></td>
</tr>
<tr>
<td>SHORT_DATETIME_FORMAT</td>
<td class="code"><pre>'m/d/Y P'</pre></td>
</tr>
<tr>
<td>SHORT_DATE_FORMAT</td>
<td class="code"><pre>'m/d/Y'</pre></td>
</tr>
<tr>
<td>SIGNING_BACKEND</td>
<td class="code"><pre>'django.core.signing.TimestampSigner'</pre></td>
</tr>
<tr>
<td>SILENCED_SYSTEM_CHECKS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>STATICFILES_DIRS</td>
<td class="code"><pre>[]</pre></td>
</tr>
<tr>
<td>STATICFILES_FINDERS</td>
<td class="code"><pre>['django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder']</pre></td>
</tr>
<tr>
<td>STATICFILES_STORAGE</td>
<td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td>
</tr>
<tr>
<td>STATIC_ROOT</td>
<td class="code"><pre>None</pre></td>
</tr>
<tr>
<td>STATIC_URL</td>
<td class="code"><pre>'/static/'</pre></td>
</tr>
<tr>
<td>TEMPLATES</td>
<td class="code"><pre>[{'APP_DIRS': True,
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages']}}]</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>'django.test.runner.DiscoverRunner'</pre></td>
</tr>
<tr>
<td>THOUSAND_SEPARATOR</td>
<td class="code"><pre>','</pre></td>
</tr>
<tr>
<td>TIME_FORMAT</td>
<td class="code"><pre>'P'</pre></td>
</tr>
<tr>
<td>TIME_INPUT_FORMATS</td>
<td class="code"><pre>['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']</pre></td>
</tr>
<tr>
<td>TIME_ZONE</td>
<td class="code"><pre>'UTC'</pre></td>
</tr>
<tr>
<td>USE_I18N</td>
<td class="code"><pre>True</pre></td>
</tr>
<tr>
<td>USE_L10N</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>'web_project.wsgi.application'</pre></td>
</tr>
<tr>
<td>X_FRAME_OPTIONS</td>
<td class="code"><pre>'DENY'</pre></td>
</tr>
<tr>
<td>YEAR_MONTH_FORMAT</td>
<td class="code"><pre>'F Y'</pre></td>
</tr>
</tbody>
</table>
</div>
<div id="explanation">
<p>
You're 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>
</div>
</body>
</html>
