diff --git a/helpdesk/views/staff.py b/helpdesk/views/staff.py index f021b5ff..31b4766f 100644 --- a/helpdesk/views/staff.py +++ b/helpdesk/views/staff.py @@ -724,7 +724,7 @@ def ticket_list(request): tickets = ticket_paginator.page(ticket_paginator.num_pages) search_message = '' - if context.has_key('query') and settings.DATABASE_ENGINE.startswith('sqlite'): + if context.has_key('query') and settings.DATABASES['default']['ENGINE'].endswith('sqlite'): search_message = _('

Note: Your keyword search is case sensitive because of your database. This means the search will not be accurate. By switching to a different database system you will gain better searching! For more information, read the Django Documentation on string matching in SQLite.')