django-rest-framework icon indicating copy to clipboard operation
django-rest-framework copied to clipboard

Web APIs for Django. 🎸

Results 304 django-rest-framework issues
Sort by recently updated
recently updated
newest added
trafficstars

Django 4.1 alpha1 was just released and now [supports async ClassBasedViews](https://docs.djangoproject.com/en/dev/releases/4.1/#asynchronous-handlers-for-class-based-views) Could we get DRF APIViews to support async since it's already available in the master branch of Django?

Extension eligible

Fix this warning from setuptools: ``` /.../setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) ``` It could be seen at the top of the wheel building...

Fixes #8587. 3.4.1 has a [few changes](https://github.com/twbs/bootstrap/releases/tag/v3.4.1) including an XSS security fix. Adding the CSS source maps will allow DRF to be used with Django 4.1 and `ManifestStaticFilesStorage`.

### Discussed in https://github.com/encode/django-rest-framework/discussions/8402 Since: - there's no response from the discussion thread, - I think this is a valid issue, and - I've found a possibly proper solution I'll...

stale

Use PEP 8 conformant import statements.

As reported here: https://code.djangoproject.com/ticket/33353#comment:15 The new CSS source map support in Django 4.1 blocks `collectstatic` with `ManifestStaticFilesStorage` with DRF, since it includes CSS files that have source map references but...

- use PEP-8-conformant import statements; - use ‘view set’ uniformly (instead of a mix of ‘view set’, ‘viewset’ and ‘ViewSet’); - fix whitespace; - fix a mistake (‘function’ instead of...

## Checklist - [x] I have verified that that issue exists against the `master` branch of Django REST framework. - [x] I have searched for similar issues in both open...

## Description This PR implements the `view` permission in `DjangoModelPemissions` class. The old PR #6325 tried to fix it, but it contains a flaw i.e., even if an object has...

Fixes a problem with Django 4.1, refs #8587. This is the smallest change, just removing the two `sourceMappingURL` lines from the minified CSS files. One downside, however, is that someone...