Open jsheffie opened 8 months ago
Attention: Patch coverage is 57.14286%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 86.70%. Comparing base (
b4f6c29
) to head (01ffef8
). Report is 15 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
rangefilter/filters.py | 57.14% | 6 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Look nice! Thanks you! I think it will take more time for testing to ensure there are no critical errors on older versions. After fix current tests
closes: #113
Changes:
contrib/admin/widgets.py:AdminSplitDateTime
and made two changes:date_attrs
andtime_attrs
and pass them down to the subwidgets.args
to this init callforms.MultiWidget.__init__(self, widgets)
Status: Alright, this is working for Django 4.2 and above. I am currently trying to figure out how to make this work on older versions of django.
Visualize
📸 Before: displays 'date' in the time fields
![Screenshot 2024-01-05 at 9 58 43 AM](https://github.com/silentsokolov/django-admin-rangefilter/assets/890028/c7fb8a0b-8638-468f-8775-7eaee06ceee6)📸 After: displays 'time' in the time fields
![Screenshot 2024-01-05 at 9 55 58 AM](https://github.com/silentsokolov/django-admin-rangefilter/assets/890028/955a5cc4-07bf-42dd-ac7a-852a56d6617a)