Traceback (most recent call last):


 "/usr/local/lib/python3.8/dist-packages/telebot/util.py", line 69, in run

task(*args, **kwargs)


 "tbot.py", line 26, in replyphoto

bot.send_photo(message.chat.id, message.photo.file_id)
AttributeError: 'list' object has no attribute 'file_id'

Traceback (most recent call last):


 "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper

fn(*args, **kwargs)


 "C:\Python35\lib\site-packages\django\core\management\commands\runserver.py", line 113, in inner_run

autoreload.raise_last_exception()


 "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 249, in raise_last_exception

six.reraise(*_exception)


 "C:\Python35\lib\site-packages\django\utils\six.py", line 685, in reraise

raise value.with_traceback(tb)


 "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper

fn(*args, **kwargs)


 "C:\Python35\lib\site-packages\django\__init__.py", line 27, in setup

apps.populate(settings.INSTALLED_APPS)


 "C:\Python35\lib\site-packages\django\apps\registry.py", line 108, in populate

app_config.import_models(all_models)


 "C:\Python35\lib\site-packages\django\apps\config.py", line 199, in import_models

self.models_module = import_module(models_module_name)


 "C:\Python35\lib\importlib\__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 986, in _gcd_import


 "<frozen importlib._bootstrap>", line 969, in _find_and_load


 "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 673, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 665, in exec_module


 "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed


 "C:\Users\Marco\Documents\Progetti\GiemmeLift\website\blog\models.py", line 21, in <module>

class Post(models.Model):


 "C:\Users\Marco\Documents\Progetti\GiemmeLift\website\blog\models.py", line 34, in Post

tags = TaggableManager()


 "C:\Python35\lib\site-packages\taggit\managers.py", line 285, in __init__

rel = TaggableRel(self, related_name, self.through, to=to)


 "C:\Python35\lib\site-packages\taggit\managers.py", line 55, in __init__

self.to = to
AttributeError: can't set attribute`
