[Answered ]-Getting A Django Template Syntax Error. How do I solve this?

1👍

You can’t have a newline in the middle of a tag, start each block tag on a separate line

{% extends 'base.html' %}

{% block title %}My Blog{% endblock %}

{% block content %}Hello{% endblock %}

Leave a comment