lamby / django-slack

Slack integration for Django, using the templating engine to generate messages
https://django-slack.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
241 stars 57 forks source link

feat: override token #117

Closed zpdldhkdl closed 5 months ago

zpdldhkdl commented 5 months ago

I didn't feel comfortable using something like

{% block token %} {% endblock %}

in the html to override the token to use it. so, I propose a PR that allows token to be optional within kwargs, so that we can fulfill this need with a parameter without having to type the above syntax in the html.

please review when you have a chance.

zpdldhkdl commented 5 months ago

hello @lamby . I was wondering if there is anything I should change in the documentation or if you have any feedback?