2👍
I’m unable to comment because of low rep, however i believe the runtime error you’re receiving is because you have both:
{% include "includes/footer.html" %}
(in your base.html){% extends 'blog/base.html' %}
(in your footer.html)
This setup seems to initiate a circular dependency issue.
👤sal
1👍
Your template appears to be in ‘blog/includes/footer.html’; you should use that in your include tag.
- [Answered ]-How to update serialized data on valid?
- [Answered ]-Django HTML for loop not showing corresponding values
- [Answered ]-Pytz – timezone activated yet getting wrong time. Am I missing something?
- [Answered ]-Django which is the correct way to store discussion inside db?
- [Answered ]-How to set environment variable using Django and Python?
- [Answered ]-Celery .env variables not used in settings.py
- [Answered ]-Django FileSystemStorage.url is wrong
- [Answered ]-Why is pip installation of scipy failing in elastic beanstalk?
- [Answered ]-Django app failed to connect with ms sql server 2014
- [Answered ]-Django: how to add a select field in the forms.py with materializecss
-1👍
Change your include to following:
<div class="footer">
{% include "includes/footer.html" %}
</div>
- [Answered ]-Add comments to article django createview foreignkey
- [Answered ]-Filter JSON data in TextField
Source:stackexchange.com