Django templatetag detection for classytags?

I'm using a class-based system for templatetags, http://django-classy-tags.readthedocs.org/en/latest/index.html. The default way template tags are detected for Django doesn't seem to be able to handle classed based tags. I test a hack where I register an empty function first and then register the classy tag and that tricks PyCharm into pointing to the empty function, and it at least thinks the templatetag exists, but I'm hoping there is a better way. Any ideas?

1 comment

Please sign in to leave a comment.