mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed flake8 warnings.
This commit is contained in:
parent
28634394f5
commit
1e64a1e7b1
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,7 @@ class Div3Transform(models.Transform):
|
|||
lhs, lhs_params = qn.compile(self.lhs)
|
||||
return 'mod(%s, 3)' % lhs, lhs_params
|
||||
|
||||
|
||||
class Div3BilateralTransform(Div3Transform):
|
||||
bilateral = True
|
||||
|
||||
|
@ -49,6 +50,7 @@ class Mult3BilateralTransform(models.Transform):
|
|||
lhs, lhs_params = qn.compile(self.lhs)
|
||||
return '3 * (%s)' % lhs, lhs_params
|
||||
|
||||
|
||||
class UpperBilateralTransform(models.Transform):
|
||||
bilateral = True
|
||||
lookup_name = 'upper'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue