BSD Ports

www/py-djangorestframework 3.18.1 NetBSD

Lightweight REST framework for Django

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
6146a5b2aa
License
modified-bsd
Categories
www, python
Package size
822.0 KiB, 4069.4 KiB installed

Description

Django REST framework is a lightweight REST framework for Django, that aims to make it easy to build well-connected, self-describing RESTful Web APIs.

Features: * Automatically provides an awesome Django admin style browse-able self-documenting API. * Clean, simple, views for Resources, using Django's new class based views. * Support for ModelResources with out-of-the-box default implementations and input validation. * Pluggable parsers, renderers, authentication and permissions - Easy to customise. * Content type negotiation using HTTP Accept headers. * Optional support for forms as input validation. * Modular architecture - MixIn classes can be used without requiring the Resource or ModelResource classes.

In the other systems

SystemPortVersion
NetBSDwww/py-djangorestframework3.18.1
FreeBSDwww/py-djangorestframework3.18.1,1
DragonFlywww/py-djangorestframework3.15.2_1,1
HardenedBSDwww/py-djangorestframework3.18.1,1
GhostBSDwww/py-djangorestframework3.18.1,1

Install

Binary package:

pkgin install py311-djangorestframework

From pkgsrc:

cd /usr/pkgsrc/www/py-djangorestframework && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.18.1
NetBSD 10.1 aarch643.17.1
SmartOS / illumos x86_643.18.3
macOS 15 arm643.18.3

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-djangorestframework-3.18.1, py313-djangorestframework-3.18.1, py314-djangorestframework-3.18.1

Commit history 3

DateCommitCreditsLog message
6146a5b2aa adam py-djangorestframework: updated to 3.18.3
3.18.3 Bug fixes Revert return value of order_by_precedence from 3.18.1 3.18.2 Security GHSA-33wh-fxxf-88vv: Harden content negotiation against large Accept headers GHSA-3547-9m27-7rxg: Refuse non-text encoding charsets GHSA-xw6w-gcfp-cf8m: Make TokenProxy deletion actually delete the token Features Add support for Python 3.15 Bug fixes Fix blank=True fields in unique constraints being treated as required Fix UniqueConstraint validation with conditional fields
00b76098e4 adam py-djangorestframework: updated to 3.18.1
3.18.1 Bug fixes Fix duplicate validation errors for GenericIPAddressField with protocol Fix int64 format detection for negative IntegerField minimums in OpenAPI schema definition Fix list serializer on unique constraint validator Reject non-finite values (nan, inf) in FloatField Other changes Add a compatibility setting for ListSerializer error formats Expand deprecation classes and review deprecation policy
50d7e0dc05 adam py-djangorestframework: updated to 3.18.0
3.18.0 Breaking changes Drop support for Django 4.2, Django 5.0 and Django 5.1 Change errors for list serializers (many=True) to dict format Features Add support for Django 6.1 Add unaccent to SearchFilter Add @throttle_scope function based view decorator Add nulls_distinct support to UniqueTogetherValidator Bug fixes Replace cc_delim_re usage with split_header_value for Django 6.1+ compatibility Include choices param for non-editable fields Improve cursor pagination template accessibility in browsable API Fix partial form data updates involving ListField Fix crash due to browsable API extra action permissions Handle unhashable BooleanField representation value Fix OpenAPI schema for zero numeric bounds on ListField children Fix set_rollback to only rollback initialized connections …