File tree Expand file tree Collapse file tree 4 files changed +36
-0
lines changed
py-dj42-drf-writable-nested Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 15091509 SUBDIR += py-dj42-djangorestframework
15101510 SUBDIR += py-dj42-drf-spectacular
15111511 SUBDIR += py-dj42-drf-spectacular-sidecar
1512+ SUBDIR += py-dj42-drf-writable-nested
15121513 SUBDIR += py-django-admin-rangefilter
15131514 SUBDIR += py-django-advanced-filters
15141515 SUBDIR += py-django-allauth
Original file line number Diff line number Diff line change 1+ PORTNAME = drf-writable-nested
2+ PORTVERSION = 0.7.0
3+ DISTVERSIONPREFIX = v
4+ CATEGORIES = www python
5+ PKGNAMEPREFIX = ${PYTHON_PKGNAMEPREFIX}dj42-
6+
7+ MAINTAINER = grembo@FreeBSD.org
8+ COMMENT = Writable nested model serializer for Django REST framework
9+ WWW = https://github.com/beda-software/drf-writable-nested
10+
11+ LICENSE = BSD2CLAUSE
12+
13+ RUN_DEPENDS = ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \
14+ ${PYTHON_PKGNAMEPREFIX}dj42-djangorestframework>0:www/py-dj42-djangorestframework@${PY_FLAVOR}
15+
16+ USES = python
17+ USE_GITHUB = yes
18+ GH_ACCOUNT = beda-software
19+ USE_PYTHON = autoplist distutils
20+
21+ CONFLICTS_INSTALL = ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
22+
23+ .include <bsd.port.mk>
Original file line number Diff line number Diff line change 1+ TIMESTAMP = 1707576902
2+ SHA256 (beda-software-drf-writable-nested-v0.7.0_GH0.tar.gz) = 3a3f3985c97ee9288e691a290fc991a5811af5e03511660f084065e06c7de0fe
3+ SIZE (beda-software-drf-writable-nested-v0.7.0_GH0.tar.gz) = 21291
Original file line number Diff line number Diff line change 1+ This is a writable nested model serializer for Django REST Framework which
2+ allows you to create/update your models with related nested data.
3+
4+ The following relations are supported:
5+
6+ - OneToOne (direct/reverse)
7+ - ForeignKey (direct/reverse)
8+ - ManyToMany (direct/reverse excluding m2m relations with through model)
9+ - GenericRelation (this is always only reverse)
You can’t perform that action at this time.
0 commit comments