Django 2 Template missing

Asked

Viewed 27 times

0

In my project I have a project with 2 apps. The first app is learning_logs which has a template, base.html The second app is users, I’m trying to use the learning_logs template on 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 is appearing msg of non-existent template.

1 answer

0

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

{% extends "base.html" %}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.