{% extends "base.html" %}

{% block body %}

    <form method="POST" action="{% url new_article %}">
        {{ form.as_p }}
        <input type="submit" />
    </form>

{% endblock %}

{% extends "base.html" %}

{% block body %}

    <form method="POST" action="{% url 'new_article' %}">
        {{ form.as_p }}
        <input type="submit" />
    </form>

{% endblock %}

Use the “new-style” url tag.
Use the “new-style” url tag.