exceptions must derive from BaseException
Request Method: | GET |
---|---|
Request URL: | http://veyepar.nextdayvideo.com/main/rf_set/Wargaming_West/?start_date=2013-07-11 |
Django Version: | 4.1.7 |
Exception Type: | TypeError |
Exception Value: | exceptions must derive from BaseException |
Exception Location: | /home/videoteam/vipar/dj/main/models.py, line 180, in basename |
Raised during: | main.views.rf_set |
Python Executable: | /home/videoteam/vipar/dj/venv/bin/python |
Python Version: | 3.9.2 |
Python Path: | [PosixPath('/home/videoteam/vipar/dj/lib'), '/home/videoteam/vipar/dj', '/home/videoteam/vipar/dj/venv/bin', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages', '/home/videoteam/vipar/dj'] |
Server time: | Fri, 29 Mar 2024 07:15:49 -0500 |
In template /home/videoteam/vipar/dj/main/templates/raw_set.html
, error at line 12
2 | {% extends "base.html" %} |
---|---|
3 | {% block content %} |
4 | |
5 | location.channelcopy:{{location.channelcopy}} |
6 | trash:{{trash}} |
7 | |
8 | {% for raw_file,cls in rf_cls %} |
9 | <table> |
10 | |
11 | <tr> |
12 | <td> <video src ="{{MEDIA_URL}}/{{raw_file.show.client.slug}}/{{raw_file.show.slug}}/dv/{{raw_file.location.slug}}/{{raw_file.basename}}.ogv" controls width=200 |
13 | poster ="{{MEDIA_URL}}/{{raw_file.show.client.slug}}/{{raw_file.show.slug}}/dv/{{raw_file.location.slug}}/{{raw_file.basename}}.png" |
14 | preload="none" |
15 | ></video> |
16 | </td> |
17 | |
18 | <td> |
19 | <table> |
20 | <tr> |
21 | <td><a href="{% url "admin:main_raw_file_change" raw_file.id %}">{{raw_file.id}}</a></td> |
22 | <td><a href="{{MEDIA_URL}}/{{raw_file.base_url}}.png">png</a></td> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/asgiref/sync.py
, line 486, in thread_handler
parent_set = True
# Run the function
try:
# If we have an exception, run the function inside the except block
# after raising it so exc_info is correctly populated.
if exc_info[1]:
try:
raise exc_info[1]…
except BaseException:
return func(*args, **kwargs)
else:
return func(*args, **kwargs)
finally:
# Only delete the launch_map parent if we set it, otherwise it is
Variable | Value |
---|---|
args | (functools.partial(<function response_for_exception at 0x7fd7e621dc10>, <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'>, TypeError('exceptions must derive from BaseException')),) |
current_thread | <Thread(asyncio_6, started 140563995154176)> |
exc_info | (<class 'TypeError'>, TypeError('exceptions must derive from BaseException'), <traceback object at 0x7fd7d34d8380>) |
func | <built-in method run of Context object at 0x7fd7e11f7a80> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
parent_set | True |
self | <asgiref.sync.SyncToAsync object at 0x7fd7e108c3d0> |
source_task | <Task pending name='Task-5911928' coro=<RequestResponseCycle.run_asgi() running at /home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py:429> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.9/asyncio/futures.py:384, <TaskWakeupMethWrapper object at 0x7fd7e0433be0>()]> cb=[set.discard()]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/core/handlers/exception.py
, line 43, in inner
can rely on getting a response instead of an exception.
"""
if asyncio.iscoroutinefunction(get_response):
@wraps(get_response)
async def inner(request):
try:
response = await get_response(request)…
except Exception as exc:
response = await sync_to_async(
response_for_exception, thread_sensitive=False
)(request, exc)
return response
Variable | Value |
---|---|
exc | TypeError('exceptions must derive from BaseException') |
get_response | <bound method BaseHandler._get_response_async of <django.core.handlers.asgi.ASGIHandler object at 0x7fd7e4678040>> |
request | <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/core/handlers/base.py
, line 253, in _get_response_async
wrapped_callback = self.make_view_atomic(callback)
# If it is a synchronous view, run it in a subthread
if not asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = sync_to_async(
wrapped_callback, thread_sensitive=True
)
try:
response = await wrapped_callback(…
request, *callback_args, **callback_kwargs
)
except Exception as e:
response = await sync_to_async(
self.process_exception_by_middleware,
thread_sensitive=True,
Variable | Value |
---|---|
callback | <function rf_set at 0x7fd7e3c4f160> |
callback_args | () |
callback_kwargs | {'location_slug': 'Wargaming_West'} |
middleware_method | <asgiref.sync.SyncToAsync object at 0x7fd7e4613fa0> |
request | <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'> |
response | None |
self | <django.core.handlers.asgi.ASGIHandler object at 0x7fd7e4678040> |
wrapped_callback | <asgiref.sync.SyncToAsync object at 0x7fd7e108c130> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/asgiref/sync.py
, line 448, in __call__
self.get_current_task(),
sys.exc_info(),
func,
*args,
**kwargs,
),
)
ret = await asyncio.wait_for(future, timeout=None)…
finally:
_restore_context(context)
if self.deadlock_context:
self.deadlock_context.set(False)
Variable | Value |
---|---|
args | (functools.partial(<function rf_set at 0x7fd7e3c4f160>, <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'>, location_slug='Wargaming_West'),) |
child | functools.partial(<function rf_set at 0x7fd7e3c4f160>, <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'>, location_slug='Wargaming_West') |
context | <Context object at 0x7fd7b8661cc0> |
executor | <concurrent.futures.thread.ThreadPoolExecutor object at 0x7fd7e108c070> |
func | <built-in method run of Context object at 0x7fd7b8661cc0> |
future | <Future finished exception=TypeError('exceptions must derive from BaseException')> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
self | <asgiref.sync.SyncToAsync object at 0x7fd7e108c130> |
thread_sensitive_context | <asgiref.sync.ThreadSensitiveContext object at 0x7fd7e108c4c0> |
/usr/lib/python3.9/asyncio/tasks.py
, line 442, in wait_for
loop = events.get_running_loop()
else:
warnings.warn("The loop argument is deprecated since Python 3.8, "
"and scheduled for removal in Python 3.10.",
DeprecationWarning, stacklevel=2)
if timeout is None:
return await fut…
if timeout <= 0:
fut = ensure_future(fut, loop=loop)
if fut.done():
return fut.result()
Variable | Value |
---|---|
fut | <Future finished exception=TypeError('exceptions must derive from BaseException')> |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
timeout | None |
/usr/lib/python3.9/concurrent/futures/thread.py
, line 52, in run
self.kwargs = kwargs
def run(self):
if not self.future.set_running_or_notify_cancel():
return
try:
result = self.fn(*self.args, **self.kwargs)…
except BaseException as exc:
self.future.set_exception(exc)
# Break a reference cycle with the exception 'exc'
self = None
else:
self.future.set_result(result)
Variable | Value |
---|---|
self | None |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/asgiref/sync.py
, line 490, in thread_handler
# after raising it so exc_info is correctly populated.
if exc_info[1]:
try:
raise exc_info[1]
except BaseException:
return func(*args, **kwargs)
else:
return func(*args, **kwargs)…
finally:
# Only delete the launch_map parent if we set it, otherwise it is
# from someone else.
if parent_set:
del self.launch_map[current_thread]
Variable | Value |
---|---|
args | (functools.partial(<function rf_set at 0x7fd7e3c4f160>, <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'>, location_slug='Wargaming_West'),) |
current_thread | <Thread(ThreadPoolExecutor-2955963_0, started 140563978368768)> |
exc_info | (None, None, None) |
func | <built-in method run of Context object at 0x7fd7b8661cc0> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
parent_set | True |
self | <asgiref.sync.SyncToAsync object at 0x7fd7e108c130> |
source_task | <Task pending name='Task-5911928' coro=<RequestResponseCycle.run_asgi() running at /home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py:429> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/lib/python3.9/asyncio/futures.py:384, <TaskWakeupMethWrapper object at 0x7fd7e0433be0>()]> cb=[set.discard()]> |
/home/videoteam/vipar/dj/main/views.py
, line 1452, in rf_set
rf_cls=[]
for rf in rfs:
# eps = scheduled_episodes(rf)
cls = rf.cut_list_set.all()
rf_cls.append([rf,cls])
return render(request, 'raw_set.html',…
{
'trash':trash,
'location':location,
'rf_cls':rf_cls,
},
)
Variable | Value |
---|---|
cls | <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]> |
location | <Location: Wargaming West> |
location_slug | 'Wargaming_West' |
request | <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'> |
rf | <Raw_File: 2013-07-11/18_52_17.dv> |
rf_cls | [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]] |
rfs | <QuerySet [<Raw_File: 2013-07-11/17_11_42.dv>, <Raw_File: 2013-07-11/17_12_05.dv>, <Raw_File: 2013-07-11/17_12_25.dv>, <Raw_File: 2013-07-11/17_38_04.dv>, <Raw_File: 2013-07-11/17_48_45.dv>, <Raw_File: 2013-07-11/17_48_51.dv>, <Raw_File: 2013-07-11/17_48_55.dv>, <Raw_File: 2013-07-11/17_54_53.dv>, <Raw_File: 2013-07-11/18_12_54.dv>, <Raw_File: 2013-07-11/18_24_56.dv>, <Raw_File: 2013-07-11/18_52_17.dv>]> |
start_date | '2013-07-11' |
trash | None |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/shortcuts.py
, line 24, in render
def render(
request, template_name, context=None, content_type=None, status=None, using=None
):
"""
Return an HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]], 'trash': None} |
request | <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'> |
status | None |
template_name | 'raw_set.html' |
using | None |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]], 'trash': None} |
request | <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'> |
template | <django.template.backends.django.Template object at 0x7fd7e3ffeb20> |
template_name | 'raw_set.html' |
using | None |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/backends/django.py
, line 61, in render
return self.template.origin
def render(self, context=None, request=None):
context = make_context(
context, request, autoescape=self.backend.engine.autoescape
)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
request | <ASGIRequest: GET '/main/rf_set/Wargaming_West/?start_date=2013-07-11'> |
self | <django.template.backends.django.Template object at 0x7fd7e3ffeb20> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 175, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <Template template_string="{# raw_set.html #}{..."> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <Template template_string="{# raw_set.html #}{..."> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | [<TextNode: '\n'>, <ExtendsNode: extends "base.html">] |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7fd7e0f2ad30> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
node | <ExtendsNode: extends "base.html"> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <ExtendsNode: extends "base.html"> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/loader_tags.py
, line 157, in render
}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = "__include_context"
def __init__(
Variable | Value |
---|---|
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'content': [<Block Node: content. Contents: [<TextNode: '\n'>]>], 'head': [<Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>], 'login': [<Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>]})> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n'>]>, 'head': <Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>, 'login': <Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>} |
compiled_parent | <Template template_string="<!doctype html><htm..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
node | <Variable Node: STATIC_URL> |
self | <ExtendsNode: extends "base.html"> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <Template template_string="<!doctype html><htm..."> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | [<TextNode: '<!doctype html>\n<html xml'>, <Variable Node: STATIC_URL>, <TextNode: 'admin/js/urlify.js"></scr'>, <Variable Node: STATIC_URL>, <TextNode: 'admin/js/vendor/jquery/jq'>, <Variable Node: STATIC_URL>, <TextNode: 'js/vendor/jquery/jquery-u'>, <Variable Node: STATIC_URL>, <TextNode: 'js/login_form.js"></scrip'>, <Variable Node: STATIC_URL>, <TextNode: 'js/fnitize.js"></script>\n'>, <Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>, <TextNode: '\n\n<link rel="stylesheet" '>, <Variable Node: STATIC_URL>, <TextNode: 'admin/css/base.css">\n<lin'>, <Variable Node: STATIC_URL>, <TextNode: 'css/login_form.css">\n<lin'>, <Variable Node: STATIC_URL>, <TextNode: 'css/main.css">\n<link rel='>, <Variable Node: STATIC_URL>, <TextNode: 'css/jquery-ui.min.css">\n\n'>, <Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>, <TextNode: '\n\n'>, <IfNode>, <TextNode: '\n\n'>, <Block Node: content. Contents: [<TextNode: '\n'>]>, <TextNode: '\n\n<hr>\n<p><a href="http:/'>] |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7fd7e0f2afa0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
node | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/loader_tags.py
, line 63, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context["block"] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, "context"):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'content': [<Block Node: content. Contents: [<TextNode: '\n'>]>], 'head': [<Block Node: head. Contents: [<TextNode: '<title>Veyepar: Video eye'>]>], 'login': [<Block Node: login. Contents: [<TextNode: '\n'>, <IncludeNode: template=<FilterExpression '"accounts/login_form.html"'>>, <TextNode: '\n'>]>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
push | <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n'>]> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>] |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1005, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7fd7e0f2a8b0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
node | <ForNode: for raw_file, cls in rf_cls, tail_len: 59> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <ForNode: for raw_file, cls in rf_cls, tail_len: 59> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/defaulttags.py
, line 238, in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))…
if pop_context:
# Pop the loop variables pushed on to the context to avoid
# the context ending up in an inconsistent state when other
# tags (e.g., include and with) push data to context.
context.pop()
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
i | 0 |
item | [<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>] |
len_item | 2 |
len_values | 11 |
loop_dict | {'counter': 1, 'counter0': 0, 'first': True, 'last': False, 'parentloop': {}, 'revcounter': 11, 'revcounter0': 10} |
node | <Variable Node: raw_file.basename> |
nodelist | ['\n<table>\n\n<tr>\n<td> <video src ="', 'https://veyepar.nextdayvideo.com/Videos/veyepar/', '/', 'chipy', '/', 'july_2013', '/dv/', 'Wargaming_West', '/'] |
num_loopvars | 2 |
parentloop | {} |
pop_context | True |
self | <ForNode: for raw_file, cls in rf_cls, tail_len: 59> |
unpack | True |
unpacked_vars | {'cls': <QuerySet []>, 'raw_file': <Raw_File: 2013-07-11/17_11_42.dv>} |
values | [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]] |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 966, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <Variable Node: raw_file.basename> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 1064, in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)…
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ""
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <Variable Node: raw_file.basename> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 715, in resolve
self.filters = filters
self.var = var_obj
self.is_var = isinstance(var_obj, Variable)
def resolve(self, context, ignore_failures=False):
if self.is_var:
try:
obj = self.var.resolve(context)…
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
ignore_failures | False |
self | <FilterExpression 'raw_file.basename'> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 847, in resolve
)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)…
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
is_safe = isinstance(value, SafeData)
msgid = value.replace("%", "%%")
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
self | <Variable: 'raw_file.basename'> |
/home/videoteam/vipar/dj/venv/lib/python3.9/site-packages/django/template/base.py
, line 914, in _resolve_lookup
if callable(current):
if getattr(current, "do_not_call_in_templates", False):
pass
elif getattr(current, "alters_data", False):
current = context.template.engine.string_if_invalid
else:
try: # method call (assuming no args required)
current = current()…
except TypeError:
try:
signature = inspect.signature(current)
except ValueError: # No signature found.
current = context.template.engine.string_if_invalid
else:
Variable | Value |
---|---|
bit | 'basename' |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'trash': None, 'location': <Location: Wargaming West>, 'rf_cls': [[<Raw_File: 2013-07-11/17_11_42.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_05.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_12_25.dv>, <QuerySet [<Cut_List: 2013-07-11/17_12_25.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_38_04.dv>, <QuerySet [<Cut_List: 2013-07-11/17_38_04.dv - ipython / notebook demo>]>], [<Raw_File: 2013-07-11/17_48_45.dv>, <QuerySet []>], [<Raw_File: 2013-07-11/17_48_51.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_51.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_48_55.dv>, <QuerySet [<Cut_List: 2013-07-11/17_48_55.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/17_54_53.dv>, <QuerySet [<Cut_List: 2013-07-11/17_54_53.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_12_54.dv>, <QuerySet [<Cut_List: 2013-07-11/18_12_54.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_24_56.dv>, <QuerySet [<Cut_List: 2013-07-11/18_24_56.dv - Asynchronous I/O in Python 3>]>], [<Raw_File: 2013-07-11/18_52_17.dv>, <QuerySet [<Cut_List: 2013-07-11/18_52_17.dv - Asynchronous I/O in Python 3>]>]]}, {'block': <Block Node: content. Contents: [<TextNode: '\n\nlocation.channelcopy:'>, <Variable Node: location.channelcopy>, <TextNode: '\ntrash:'>, <Variable Node: trash>, <TextNode: '\n\n '>, <ForNode: for raw_file, cls in rf_cls, tail_len: 59>, <TextNode: '\n\n'>]>}] |
current | <bound method Raw_File.basename of <Raw_File: 2013-07-11/17_11_42.dv>> |
self | <Variable: 'raw_file.basename'> |
signature | <Signature ()> |
template_name | 'raw_set.html' |
/home/videoteam/vipar/dj/main/models.py
, line 180, in basename
rf=None
return rf
def basename(self):
# strip the extension
# good for making 1-2-3/foo.png from 1-2-3/foo.dv
raise "homey don't play that no more."…
return os.path.splitext(self.filename)[0]
def base_url(self):
""" Returns the url for the file, minus the MEDIA_URL and extension """
return "%s/%s/dv/%s/%s" % (self.show.client.slug,
self.show.slug,
Variable | Value |
---|---|
self | <Raw_File: 2013-07-11/17_11_42.dv> |
AnonymousUser
Variable | Value |
---|---|
start_date | '2013-07-11' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | 'SpMJSrnjduWft3Otnm36tB97jbI0eA2k' |
CSRF_COOKIE_NEEDS_UPDATE | True |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'veyepar.nextdayvideo.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.82.3.33' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REAL_IP | '3.82.3.33' |
PATH_INFO | '/main/rf_set/Wargaming_West/' |
QUERY_STRING | 'start_date=2013-07-11' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'unknown' |
SERVER_PORT | '0' |
wsgi.multiprocess | True |
wsgi.multithread | True |
dj.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
ALLOWED_HOSTS | ['veyepar.nextdayvideo.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/home/videoteam/vipar/dj') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_MASKED | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | ['https://veyepar.nextdayvideo.com'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'veyepar', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_NAME': None, 'TIME_ZONE': None, 'USER': 'veyepar'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%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'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GOOG_CLIENT_SECRET | '********************' |
GOOG_REDIRECT_URL | 'https://veyepar.nextdayvideo.com/googauth/redirect/' |
GOOG_SCOPES | ['openid', 'https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/youtube.force-ssl'] |
GOOG_TOKEN | '********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.staticfiles', 'main', 'accounts', 'volunteers', 'rest_framework', 'api', 'django_extensions', 'googauth') |
INTERNAL_IPS | [] |
LANGUAGES | [('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'), ('ms', 'Malay'), ('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')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | () |
MEDIA_ROOT | '' |
MEDIA_URL | 'https://veyepar.nextdayvideo.com/Videos/veyepar/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.middleware.common.CommonMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
REST_FRAMEWORK | {'DEFAULT_MODEL_SERIALIZER_CLASS': 'rest_framework.serializers.HyperlinkedModelSerializer', 'DEFAULT_PERMISSION_CLASSES': ['rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly']} |
ROOT_URLCONF | 'dj.urls' |
SECRETS_DIR | '********************' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'dj.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/srv/www/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.request'], 'debug': True, 'string_if_invalid': 'error-in-template'}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/Chicago' |
UPLOAD_FORMATS | ['mp4'] |
USE_DEPRECATED_PYTZ | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
VALIDATOR_APP_VALIDATORS | {'application/xml+xhtml': '/usr/bin/validate', 'text/html': '/usr/bin/validate'} |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
You’re seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.