django.template.exceptions.TemplateDoesNotExist: registration/login.html

asked 2020-04-07 11:41:10 -0500

jbacelo gravatar image

Hi, I'm currently installing Openstack Stein, and now I'm trying to install Horizon, following the tutorial. I end up in this error:

ERROR django.request Internal Server Error: /horizon/auth/login/
Traceback (most recent call last):
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py", line 34, in inner
   response = get_response(request)
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 145, in _get_response
  response = self.process_exception_by_middleware(e, request)
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py", line 143, in _get_response
  response = response.render()
 File "/usr/local/lib/python3.6/dist-packages/django/template/response.py", line 106, in render
   self.content = self.rendered_content
 File "/usr/local/lib/python3.6/dist-packages/django/template/response.py", line 81, in rendered_content
   template = self.resolve_template(self.template_name)
 File "/usr/local/lib/python3.6/dist-packages/django/template/response.py", line 63, in resolve_template
   return select_template(template, using=self.using)
 File "/usr/local/lib/python3.6/dist-packages/django/template/loader.py", line 47, in select_template
   raise TemplateDoesNotExist(', '.join(template_name_list), chain=chain)
django.template.exceptions.TemplateDoesNotExist: registration/login.html

I googled it but didn't found any answer.

Thks for the help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-09 09:35:09 -0500

jbacelo gravatar image

I solved it. Downgrading Django version from 2.2 to 1.11. Reinstalled it and it worked.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-04-07 11:41:10 -0500

Seen: 211 times

Last updated: Apr 07