diff --git a/README.md b/README.md index dada6c1..808688a 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,14 @@ [![PyPI release](https://img.shields.io/pypi/v/django-daterangefilter.svg)](https://pypi.org/project/django-daterangefilter/) [![Python version](https://img.shields.io/pypi/pyversions/django-daterangefilter.svg)](https://pypi.org/project/django-daterangefilter/) [![GitHub issues](https://img.shields.io/github/issues/andreynovikov/django-daterangefilter.svg)](https://github.com/andreynovikov/django-daterangefilter/issues) +[![LGTM code quality](https://img.shields.io/lgtm/grade/python/g/andreynovikov/django-daterangefilter.svg)](https://lgtm.com/projects/g/andreynovikov/django-daterangefilter/) +[![LGTM code quality](https://img.shields.io/lgtm/grade/javascript/g/andreynovikov/django-daterangefilter.svg)](https://lgtm.com/projects/g/andreynovikov/django-daterangefilter/) [![GitHub license](https://img.shields.io/github/license/andreynovikov/django-daterangefilter.svg)](LICENSE) Application adds three Django admin list filters: ```DateRangeFilter```, ```PastDateRangeFilter``` and ```FutureDateRangeFilter```. These filters let user filter models by date range. ```PastDateRangeFilter``` and ```FutureDateRangeFilter``` add quick selection of predefined date ranges. Filters can be applied to any model date fields. Application supports default Django admin theme and [Suit theme](https://github.com/darklow/django-suit). +![Admin screenshot](https://raw.githubusercontent.com/andreynovikov/django-daterangefilter/master/screenshot-admin.png) + ## Requirements * Python 2.7+ or Python 3.3+ diff --git a/daterangefilter/templates/daterangefilter/daterangefilter.html b/daterangefilter/templates/daterangefilter/daterangefilter.html index 21c2140..de6776b 100644 --- a/daterangefilter/templates/daterangefilter/daterangefilter.html +++ b/daterangefilter/templates/daterangefilter/daterangefilter.html @@ -6,6 +6,7 @@ {% with field_name=choices.0.field_name %}