[Django]-NoReverseMatch with {% url … %} and keyword args

6👍

you are using the wrong keys, it should be

{% url 'pennies.views.seed_preview' shareable_id=seed.id salt=seed.salt %}
👤second

0👍

You need to load the future url template tag in every template where you use it. Loading a template tag library does not make it available to parent or child templates.

For more info see the Django docs on Custom libraries and template inheritance

Leave a comment