Updated deprecation warning messages of moved template tags libraries

This commit is contained in:
Karl Hobley 2014-06-24 09:53:41 +01:00
parent 879269ab20
commit bdbcf3cd99
4 changed files with 8 additions and 8 deletions

View file

@ -1,8 +1,8 @@
import warnings
warnings.warn(
"The pageurl tags has been renamed. "
"Use wagtailcore_tags instead.", DeprecationWarning)
"The pageurl tag library has been moved to wagtailcore_tags. "
"Use {% load wagtailcore_tags %} instead.", DeprecationWarning)
from wagtail.wagtailcore.templatetags.wagtailcore_tags import register

View file

@ -1,8 +1,8 @@
import warnings
warnings.warn(
"The rich_text tags has been renamed. "
"Use wagtailcore_tags instead.", DeprecationWarning)
"The rich_text tag library has been moved to wagtailcore_tags. "
"Use {% load wagtailcore_tags %} instead.", DeprecationWarning)
from wagtail.wagtailcore.templatetags.wagtailcore_tags import register

View file

@ -1,8 +1,8 @@
import warnings
warnings.warn(
"The embed_filters tags has been renamed. "
"Use wagtailembeds_tags instead.", DeprecationWarning)
"The embed_filters tag library has been moved to wagtailcore_tags. "
"Use {% load wagtailembeds_tags %} instead.", DeprecationWarning)
from wagtail.wagtailembeds.templatetags.wagtailembeds_tags import register

View file

@ -1,8 +1,8 @@
import warnings
warnings.warn(
"The image_tags tags has been renamed. "
"Use wagtailimages_tags instead.", DeprecationWarning)
"The image_tags tag library has been moved to wagtailcore_tags. "
"Use {% load wagtailimages_tags %} instead.", DeprecationWarning)
from wagtail.wagtailimages.templatetags.wagtailimages_tags import register