Django 2 nonexistent Template

0

In my project I have a project with 2 apps. The first app is learning_logs that has a template, base.html The second app is users, I'm trying to use the learning_logs template in users as follows:

{% extends "learning_logs/base.html" %}

It turns out that the app that is trying to use the template, is looking inside its own app, and as it does not find there is missing template msg.

    
asked by anonymous 20.04.2018 / 00:47

1 answer

0

I took the name of the app where the template is and it worked.

{% extends "base.html" %}
    
20.04.2018 / 00:59