mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-15 20:41:01 +00:00
Updated deprecation warning messages of moved template tags libraries
This commit is contained in:
parent
879269ab20
commit
bdbcf3cd99
4 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue