sexta-feira, 14 de setembro de 2018

TemplateDoesNotExist at /accounts/login/

Verify the attribute DIRS

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': ['./templates',],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]


TemplateDoesNotExist at /accounts/login/

registration/login.html
Request Method:GET
Request URL:http://127.0.0.1:8000/accounts/login/?next=/versioning/
Django Version:2.1.1
Exception Type:TemplateDoesNotExist
Exception Value:
registration/login.html
Exception Location:C:\ci_database_lawoffice\ci\lib\site-packages\django\template\loader.py in select_template, line 47
Python Executable:C:\ci_database_lawoffice\ci\Scripts\python.exe
Python