diff --git a/ulakbus/settings.py b/ulakbus/settings.py index 6f48613a..7a53ffbc 100644 --- a/ulakbus/settings.py +++ b/ulakbus/settings.py @@ -228,3 +228,6 @@ #: These models will not flushed when running tests TEST_FLUSHING_EXCLUDES = 'Unit,Permission,User,AbstractRole,Role' + +#: User search method of messaging subsystem will work on these fields +MESSAGING_USER_SEARCH_FIELDS = ['username', ]