sortedm2m is a drop-in replacement for Django's own ManyToManyField. The

provided SortedManyToManyField behaves like the original one but remembers
the order of added relations.

WWW: https://github.com/gregmuellegger/django-sortedm2m

PR:		205096
Submitted by:	Kevin Golding <ports@caomhin.org>
Approved by:    mat (mentor)
Differential Revision: D4628
This commit is contained in:
Martin Wilke 2015-12-21 14:22:55 +00:00
parent 047add4399
commit a75306e24a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404108
4 changed files with 29 additions and 0 deletions

View file

@ -1570,6 +1570,7 @@
SUBDIR += py-django-sekizai
SUBDIR += py-django-signals-ahoy
SUBDIR += py-django-simple-captcha
SUBDIR += py-django-sortedm2m
SUBDIR += py-django-statici18n
SUBDIR += py-django-storages
SUBDIR += py-django-subdomains

View file

@ -0,0 +1,21 @@
# Created by: Kevin Golding <ports@caomhin.org>
# $FreeBSD$
PORTNAME= django-sortedm2m
PORTVERSION= 1.1.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@caomhin.org
COMMENT= Replacement for Django's many to many field
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/django/bin/django-admin.py:${PORTSDIR}/www/py-django
NO_ARCH= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (django-sortedm2m-1.1.0.tar.gz) = a591e97d2f9f20b73bbc294c2245633a2f7ee8e074291a6fd4c6e3eb064806a1
SIZE (django-sortedm2m-1.1.0.tar.gz) = 34398

View file

@ -0,0 +1,5 @@
sortedm2m is a drop-in replacement for Django's own ManyToManyField. The
provided SortedManyToManyField behaves like the original one but remembers
the order of added relations.
WWW: https://github.com/gregmuellegger/django-sortedm2m