From 3c6f5f7f4013df0ad8fecd7a30c052cd441ad2de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Wed, 22 Sep 2021 13:31:10 +0200 Subject: [PATCH] Update README.md Make the example work as is: Add `{% load pinax_comments_tags %}`, remove `bootstrap` library dependency. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d714a5..c513148 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,15 @@ a comment on `wall_user`; `comment_form`, which returns a comment form for `wall_user`; and `comments`, which returns all comments on `wall_user`. ```django + {% load pinax_comments_tags %} +
{% comment_target wall_user as post_url %} {% comment_form wall_user as comment_form %}
{% csrf_token %} - {{ comment_form|bootstrap }} + {{ comment_form }}