Skip to content

Support template_name as keyword argument in template tag#219

Merged
joshuadavidthomas merged 4 commits intomainfrom
claude/template-tag-kwarg-migration-O6pBM
Mar 1, 2026
Merged

Support template_name as keyword argument in template tag#219
joshuadavidthomas merged 4 commits intomainfrom
claude/template-tag-kwarg-migration-O6pBM

Conversation

@joshuadavidthomas
Copy link
Owner

No description provided.

claude added 4 commits March 1, 2026 09:26
The django_simple_nav template tag now accepts template_name as a
keyword argument (template_name="...") in addition to the existing
positional argument form. Both forms are supported, but documentation
has been updated to show only the keyword argument form.

https://claude.ai/code/session_01VkJgufDXZnESprP8XK9b2y
Replace loop with direct handling since there's at most one extra arg.

https://claude.ai/code/session_01VkJgufDXZnESprP8XK9b2y
@joshuadavidthomas joshuadavidthomas merged commit b301ae7 into main Mar 1, 2026
22 checks passed
@joshuadavidthomas joshuadavidthomas deleted the claude/template-tag-kwarg-migration-O6pBM branch March 1, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants