{% extends 'base.html' %} {% block title %} Edit Post {% endblock %} {% block content %}

Edit post:

{% csrf_token %} {{ form.as_p }}
{% endblock %}