aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2021-04-15 14:19:31 +0000
committerDan Langille <dvl@FreeBSD.org>2021-04-15 14:20:45 +0000
commit36d569c1b433d4ac97a5092aab69cb488d787a1f (patch)
tree8b42f5dc9e3877f535c1c1206dc3415830d17110
parentf4d591bd8b0de20b12217f7f8c03b7b026b8a04d (diff)
downloadports-36d569c1b433d4ac97a5092aab69cb488d787a1f.tar.gz
ports-36d569c1b433d4ac97a5092aab69cb488d787a1f.zip
Add py-django-admin-rangefilter: for filtering by a custom date / datetime
range on the admin UI PR: 254830 Reported by: gettoknowmi <gettoknowmi@yahoo.com>
-rw-r--r--www/Makefile1
-rw-r--r--www/py-django-admin-rangefilter/Makefile18
-rw-r--r--www/py-django-admin-rangefilter/distinfo3
-rw-r--r--www/py-django-admin-rangefilter/pkg-descr6
4 files changed, 28 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index e47271f6e9e6..db4d3bf401d0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1452,6 +1452,7 @@
SUBDIR += py-dj31-drf-yasg
SUBDIR += py-django
SUBDIR += py-django-advanced-filters
+ SUBDIR += py-django-admin-rangefilter
SUBDIR += py-django-allauth
SUBDIR += py-django-annoying
SUBDIR += py-django-appconf
diff --git a/www/py-django-admin-rangefilter/Makefile b/www/py-django-admin-rangefilter/Makefile
new file mode 100644
index 000000000000..ac32d4f4a928
--- /dev/null
+++ b/www/py-django-admin-rangefilter/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= django-admin-rangefilter
+PORTVERSION= 0.7.0
+CATEGORIES= www
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gettoknowmi@yahoo.com
+COMMENT= Add the filter by a custom date / datetime range on the admin UI
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python:3.6+,run
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-admin-rangefilter/distinfo b/www/py-django-admin-rangefilter/distinfo
new file mode 100644
index 000000000000..546c81477446
--- /dev/null
+++ b/www/py-django-admin-rangefilter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1617294626
+SHA256 (django-admin-rangefilter-0.7.0.tar.gz) = da641c8fb919a570f26d3008250f54f86e6446c47eab0d3e8454a1253ffeb6b5
+SIZE (django-admin-rangefilter-0.7.0.tar.gz) = 13538
diff --git a/www/py-django-admin-rangefilter/pkg-descr b/www/py-django-admin-rangefilter/pkg-descr
new file mode 100644
index 000000000000..a6e49b376e24
--- /dev/null
+++ b/www/py-django-admin-rangefilter/pkg-descr
@@ -0,0 +1,6 @@
+django-admin-rangefilter app,
+add the filter by a custom date / datetime range on the admin UI.
+For Django 1.8+, if django-csp is installed,
+ nonces will be added to style and script tags.
+
+WWW: https://github.com/silentsokolov/django-admin-rangefilter