mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
8 lines
162 B
Python
8 lines
162 B
Python
|
from django.db.models.lookups import In
|
||
|
|
||
|
class NotIn(In):
|
||
|
lookup_name = "not_in"
|
||
|
|
||
|
def get_rhs_op(self, connection, rhs):
|
||
|
return "NOT IN %s" % rhs
|