Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

hemamaps / django-extensions   python

Repository URL to install this package:

Version: 1.6.7 

/ management / commands / show_templatetags.py

# coding=utf-8
import warnings

from django.core.management import call_command
from django.core.management.base import BaseCommand


class Command(BaseCommand):
    help = "Deprecated in favour of \"show_template_tags\". Displays template tags and filters available in the current project."

    def handle(self, *args, **options):
        warnings.warn(
            "Deprecated: "
            "\"show_templatetags\" is depreciated and will be "
            "removed in future releases. Use \"show_template_tags\" instead.",
            DeprecationWarning)
        call_command('show_template_tags', **options)