Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www/py-dj42-drf-writable-nested: New port
Writable nested model serializer for Django REST framework
- Loading branch information
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
PORTNAME= drf-writable-nested | ||
PORTVERSION= 0.7.0 | ||
DISTVERSIONPREFIX= v | ||
CATEGORIES= www python | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42- | ||
|
||
MAINTAINER= grembo@FreeBSD.org | ||
COMMENT= Writable nested model serializer for Django REST framework | ||
WWW= https://github.com/beda-software/drf-writable-nested | ||
|
||
LICENSE= BSD2CLAUSE | ||
|
||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}dj42-djangorestframework>0:www/py-dj42-djangorestframework@${PY_FLAVOR} | ||
|
||
USES= python | ||
USE_GITHUB= yes | ||
GH_ACCOUNT= beda-software | ||
USE_PYTHON= autoplist distutils | ||
|
||
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1707576902 | ||
SHA256 (beda-software-drf-writable-nested-v0.7.0_GH0.tar.gz) = 3a3f3985c97ee9288e691a290fc991a5811af5e03511660f084065e06c7de0fe | ||
SIZE (beda-software-drf-writable-nested-v0.7.0_GH0.tar.gz) = 21291 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
This is a writable nested model serializer for Django REST Framework which | ||
allows you to create/update your models with related nested data. | ||
|
||
The following relations are supported: | ||
|
||
- OneToOne (direct/reverse) | ||
- ForeignKey (direct/reverse) | ||
- ManyToMany (direct/reverse excluding m2m relations with through model) | ||
- GenericRelation (this is always only reverse) |