Skip to content

Commit

Permalink
Merge pull request #100 from plone/maurits-warnings
Browse files Browse the repository at this point in the history
Fix DeprecationWarnings.
  • Loading branch information
davisagli authored Jan 22, 2025
2 parents 5f3c42e + 333cad1 commit 975c325
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/4090.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix DeprecationWarnings. [maurits]
4 changes: 2 additions & 2 deletions plone/app/vocabularies/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ class StaticCatalogVocabulary(CatalogVocabulary):
Relation/RelationChoice values (to create a z3c.relationfield style
relation). This vocabulary will work with a variety of selection widgets,
and provides a text search method to work with the
plone.app.z3cform.widget.AjaxSelectWidget.
plone.app.z3cform.widgets.select.AjaxSelectWidget.
This vocabulary can be used to make a named vocabulary with a factory
function:
Expand Down Expand Up @@ -657,7 +657,7 @@ def my_vocab_factory(context):
index, but you could have your vocabulary search on "Title" instead:
from plone.autoform import directives
from plone.app.z3cform.widget import AjaxSelectFieldWidget
from plone.app.z3cform.widgets.select import AjaxSelectFieldWidget
directives.widget(
Expand Down

0 comments on commit 975c325

Please sign in to comment.