Depois que coloco a imagem e tento chamar ela no index apresenta esse erro
Internal Server Error: /
Traceback (most recent call last):
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 829, in _resolve_lookup
current = current[bit]
TypeError: 'ImageFieldFile' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\receitas\views.py", line 10, in index
return render(request,'index.html', dados)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\shortcuts.py", line 19, in render
content = loader.render_to_string(template_name, context, request, using=using)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\loader.py", line 62, in render_to_string
return template.render(context, request)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\backends\django.py", line 61, in render
return self.template.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 170, in render
return self._render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 162, in _render
return self.nodelist.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 938, in render
bit = node.render_annotated(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 905, in render_annotated
return self.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 162, in _render
return self.nodelist.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 938, in render
bit = node.render_annotated(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 905, in render_annotated
return self.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\loader_tags.py", line 62, in render
result = block.nodelist.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 938, in render
bit = node.render_annotated(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 905, in render_annotated
return self.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\defaulttags.py", line 312, in render
return nodelist.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 938, in render
bit = node.render_annotated(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 905, in render_annotated
return self.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\defaulttags.py", line 211, in render
nodelist.append(node.render_annotated(context))
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 905, in render_annotated
return self.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\defaulttags.py", line 312, in render
return nodelist.render(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 938, in render
bit = node.render_annotated(context)
File "C:\Users\emanuel.almeida\Documents\alura-django-01\venv\lib\site-packages\django\template\base.py", line 905, in render_annotated
return self.render(context)
File "C:\Users\emanuel.a