Skip to main content

edX Django REST Framework Extensions CI Codecov

This library includes various cross-cutting concerns related to APIs. API functionality added to this library must be required for multiple Open edX applications or multiple repositories.

Some of these concerns include extensions of Django REST Framework (DRF), which is how the repository initially got its name.

Publishing a Release

After a PR merges to master, python-semantic-release automatically determines the next version from the Conventional Commits types, tags it, creates a GitHub Release, and publishes the package to PyPI.

JWT Authentication and REST API Endpoints

JWT Authentication is the preferred method of authentication for Open edX API endpoints. See JWT Authentication README for more details.

CSRF API

One feature of this library is a csrf app containing an API endpoint for retrieving CSRF tokens from the Django service in which it is installed. This is useful for frontend apps attempting to make POST, PUT, and DELETE requests to a Django service with Django’s CSRF middleware enabled.

To make use of this API endpoint:

  1. Install edx-drf-extensions in your Django project.

  2. Add csrf.apps.CsrfAppConfig to INSTALLED_APPS.

  3. Add 'edx_rest_framework_extensions.auth.jwt.middleware.JwtAuthCookieMiddleware' to MIDDLEWARE.

  4. Add csrf.urls to urls.py.

Documentation

The latest documentation for this repository can be found on Read the Docs

License

The code in this repository is licensed under Apache 2.0 unless otherwise noted.

Please see LICENSE.txt for details.

How To Contribute

Contributions are very welcome.

Please read How To Contribute for details.

Reporting Security Issues

Please do not report security issues in public. Please email security@openedx.org.

Metadata

Release files for edx-drf-extensions 10.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edx-drf-extensions 10.11.0
File Size Uploaded Provenance Actions
edx_drf_extensions-10.11.0.tar.gz 90.8 kB With provenance Details for edx_drf_extensions-10.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for edx-drf-extensions 10.11.0
File Interpreter ABI Platform Actions
edx_drf_extensions-10.11.0-py3-none-any.whl Python 3 none any Details for edx_drf_extensions-10.11.0-py3-none-any.whl

Total release size: 183.3 kB

Release files / edx_drf_extensions-10.11.0.tar.gz

Download URL edx_drf_extensions-10.11.0.tar.gz
Size 90.8 kB
Tags Source
SHA-256 checksum
How to use checksums
65feeb849576c47a8c506ad827722a4a10e19c0e9b518f8ed749f4e53916851d
BLAKE2b-256 checksum
How to use checksums
70d3c19e79bc66879d096c9fc66756eb568f722c7237ee3884a52aedfe3cb9c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / edx_drf_extensions-10.11.0-py3-none-any.whl

Download URL edx_drf_extensions-10.11.0-py3-none-any.whl
Size 92.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
001e7927096935f4175433568615ab236d8895d2b9a71390ca3de1b3ef7ad57d
BLAKE2b-256 checksum
How to use checksums
445aa4f6836b28c2e64fa6cf0fb936781d1be1ff3b5c30d8ebb1813167a0ae4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for edx-drf-extensions 10.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for edx_drf_extensions-10.11.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

10.11.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page