New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to overwrite the template tag's name to avoid conflicts. #161
Conversation
Avoid conflicts with other tags for example the switch/case template tag. This can be done by defining ``WAFFLE_FLAG_TAG_NAME``, ``WAFFLE_SWITCH_TAG_NAME`` and/or ``WAFFLE_SAMPLE_TAG_NAME`` in the ``settings.py``. This is all optional.
Hi @jsocol et al. |
@jsocol – any updates on this? |
+1 another maintainer which has no time to manage own OS makes me sad @jsocol |
@michaelkuty me too |
@philippeowagner yes, i know, good point @jsocol jazzband is one of recommended way.. |
Honestly, I think the right solution is to namespace these tags, e.g. |
Renaming the template tags? Seriously? IMHO this is absolutely not the right solution either. This would break backwards compatibility and force everybody using django-waffle to rename each and every |
Waffle is still a pre-1.0 project and there's a decent amount of stabilizing to do to get over the 1.0 boundary. Breaking backwards compatibility isn't ideal, but these are badly named and better to fix it pre-1.0 than post. On Feb 9, 2016, 7:25 PM -0500, Philippe O. Wagnernotifications@github.com, wrote:
|
@philippeowagner ok if author has this opinion, we can create friendly fork for us, stable and long term usable with django-comptat, I making integration waffle to other systems and I don't want refactoring all occurrences in next year.. internally I called this attitude: non invasive contribution, it's sad, but sometimes we have no choice |
I recognize that you two disagree with this, and that's fine. You are free to fork, but as an over-committed maintainer, I'd encourage you to look at Gutter, which seems to have some traction as well. |
Avoid conflicts with other tags for example the switch/case template tag.
This can be done by defining
WAFFLE_FLAG_TAG_NAME
,WAFFLE_SWITCH_TAG_NAME
and/orWAFFLE_SAMPLE_TAG_NAME
in thesettings.py
. This is all optional.