-
When some of the fields in a `ModelSerializer` (but probably any serializer) has the same name as the annotated properties of the class `Field` in `rest_framework-stubs.fields.pyi`, e.g. `source`, `re…
-
### Related software versions
All
### Description
If the `testapp` has a dummy app, with a test model, exposed via DRF, perhaps we could write some better integration tests by attempting to create …
-
把djangorestframework 这个module 降到3.5.4试试
-
hi developer,
i meet a problem. for some reason, i overwriter DjangoRestResponsePagination for realizing a custom response 。
![image](https://user-images.githubusercontent.com/32125309/89266655-c6…
shyzz updated
1 month ago
-
# Bug report
## What's wrong
```python3
class Foo(serializers.PrimaryKeyRelatedField[FooModel]): ...
```
```
serializers.PrimaryKeyRelatedField[FooModel]
TypeError: 'type' object is n…
-
I'm trying to manipulate some behaivor about authentication process with DRF and SimpleJWT. I created a function to validated a tenant that I set it into MyTokenObtainPairSerializer class and it works…
-
### Description
Subsequent calls to `pip install` do not execute in the same order, _even when wheels are vendored, and no index is used_.
This seems unnecessarily nondeterministic (to me), and …
-
# Bug report
## What's wrong
```python3
class MySerializer(serializers.Serializer[int]): ...
MySerializer([1,2,3], many=True)
```
```
error: Argument 1 to "MySerializer" has incompatibl…
-
python 3.7.3
django 2.2.3
djangorestframework 3.9.4
djangorestframework-bulk 0.2.1
`class Milestone(models.Model):
project = models.ForeignKey(Project, on_delete=models.CASCADE)
positi…
-
Instead of this in the readme:
> On the backend, open a new terminal 1.To activate the virtual enviorment, run source venv/Scripts/activate 2. pip install django djangorestframework djangorestfra…