fixes #989 - new 'no' translations for JavaScript

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Georg Bauer 2005-12-04 13:48:50 +00:00
parent 77e8f50633
commit 4ef077c593
7 changed files with 90 additions and 3 deletions

View file

@ -151,6 +151,12 @@ OPERATOR_MAPPING = {
'endswith': 'LIKE %s',
'istartswith': 'ILIKE %s',
'iendswith': 'ILIKE %s',
'notcontains': 'NOT LIKE %s',
'notstartswith': 'NOT LIKE %s',
'notendswith': 'NOT LIKE %s',
'inotcontains': 'NOT ILIKE %s',
'inotstartswith': 'NOT ILIKE %s',
'inotendswith': 'NOT ILIKE %s',
}
# This dictionary maps Field objects to their associated PostgreSQL column