Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jsheffie committed Jan 5, 2024
1 parent 9745df7 commit 01ffef8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions rangefilter/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@
from django.utils.translation import ugettext_lazy as _ # pylint: disable=E0611

if django.VERSION >= (4, 2, 0):
from django.contrib.admin.widgets import AdminDateWidget
from django.contrib.admin.widgets import BaseAdminDateWidget, BaseAdminTimeWidget
from django.contrib.admin.widgets import (
AdminDateWidget,
BaseAdminDateWidget,
BaseAdminTimeWidget,
)
else:
from django.contrib.admin.widgets import AdminDateWidget as BaseAdminDateWidget
from django.contrib.admin.widgets import AdminTimeWidget as BaseAdminTimeWidget
Expand Down

0 comments on commit 01ffef8

Please sign in to comment.