-
When trying to access `supertokens` attribute of `HttpRequest `in **_Django Rest_** Views, error is thrown -
`AttributeError: 'Request' object has no attribute 'supertokens'.`
Steps to reproduce:
…
-
### My actions before raising this issue
- [x] Read/searched [the docs](https://github.com/opencv/cvat/tree/master#documentation)
- [x] Searched [past issues](/issues)
### Proposal
Now…
-
**Description**
I have a custom Registration view, which derives from dj_rest_auth's RegisterView. The `create()` method is over-ridden, and takes and returns custom objects, which have appropriat…
-
## Problem
The generated nested dataclass serializers are called DataclassSerializer, making it hard to differentiate them. When used with drf-spectacular this leads to unfortunate collisions that ov…
-
The following code works as expected whereby I end up with only a "some_id" parameter showing up in SwaggerUI for the endpoint.
```py
@extend_schema(
description="Lists items",
…
-
**Describe the bug**
extend_schema_view not changing the descriptions & operations in the swagger ui
**To Reproduce**
Python version: 3.10
drf version: 3.13.1
django version: 3.2.13
drf-specta…
-
### Environment
* Python version: 3.10.2
* Nautobot version: 1.3.0
### Steps to Reproduce
1. Create a Job with a FileVar, e.g.:
```
class UploadJob(Job):
source_file = FileVar(description…
-
**Describe the bug**
I'm attempting to add some additional logic to the Swagger-UI schema via the SWAGGER_UI_SETTINGS option. Specifically, I'm setting the 'requestInterceptor' configuration option a…
-
**Describe the bug**
The goal was to enable permissions to the swagger docs only when the user is an Admin user. I updated `SERVE_PERMISSIONS` to `['rest_framework.permissions.IsAdminUser']` . Even w…
-
This is more a question to check if its compatible to Django 3.13.1, because I'm getting an error.
I thought it was django version and downgraded to 3.13.0 but the problem remained.
After installa…