Ask Your Question

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/", line 34, in inner
   response = get_response(request)
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/", line 145, in _get_response
  response = self.process_exception_by_middleware(e, request)
 File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/", line 143, in _get_response
  response = response.render()
 File "/usr/local/lib/python3.6/dist-packages/django/template/", line 106, in render
   self.content = self.rendered_content
 File "/usr/local/lib/python3.6/dist-packages/django/template/", line 81, in rendered_content
   template = self.resolve_template(self.template_name)
 File "/usr/local/lib/python3.6/dist-packages/django/template/", line 63, in resolve_template
   return select_template(template, using=self.using)
 File "/usr/local/lib/python3.6/dist-packages/django/template/", 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

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


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

Seen: 682 times

Last updated: Apr 07 '20