Traceback (most recent call last):
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/c/cy94634/foodstore/public_html/foodstore/store/views.py", line 13, in index
return render(request, 'index.html')
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/shortcuts.py", line 19, in render
content = loader.render_to_string(template_name, context, request, using=using)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/template/loader.py", line 61, in render_to_string
template = get_template(template_name, using=using)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/template/loader.py", line 15, in get_template
return engine.get_template(template_name)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/template/backends/django.py", line 34, in get_template
return Template(self.engine.get_template(template_name), self)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/template/engine.py", line 143, in get_template
template, origin = self.find_template(template_name)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/template/engine.py", line 125, in find_template
template = loader.get_template(name, skip=skip)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/template/loaders/base.py", line 18, in get_template
for origin in self.get_template_sources(template_name):
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/template/loaders/filesystem.py", line 36, in get_template_sources
name = safe_join(template_dir, template_name)
File "/home/c/cy94634/foodstore/venv/lib/python3.6/site-packages/django/utils/_os.py", line 17, in safe_join
final_path = abspath(join(base, *paths))
File "/usr/lib/python3.6/posixpath.py", line 80, in join
a = os.fspath(a)
Exception Type: TypeError at /
Exception Value: expected str, bytes or os.PathLike object, not list
Dr. Bacon, вы правы, у меня локально стоит 4.0.3, а на хостинге установилось 3.2.13.
Подскажите еще, pip install не ищет новую версию, Django можно же переустановить через Git Clone?