You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing AutocompleteWidget.callback() from AutocompleteWidget constructor is a bad idea. When you instantiate the factory class in a model file, the callback will become exposed from every page in your application. The callback should be executed from AutocompleteWidget.__call__() so that it'll be subject to the same access control restrictions as its parent form.
The text was updated successfully, but these errors were encountered:
Executing
AutocompleteWidget.callback()
fromAutocompleteWidget
constructor is a bad idea. When you instantiate the factory class in a model file, the callback will become exposed from every page in your application. The callback should be executed fromAutocompleteWidget.__call__()
so that it'll be subject to the same access control restrictions as its parent form.The text was updated successfully, but these errors were encountered: