-
I encountered this problem when using django-rest-framework's `DjangoObjectPermissionFilter` with django-guardian. After some digging (I think) I tracked the problem down to `DjangoObjectPermissionFil…
-
Hello, I'm using django-filter with Django Rest Framework (DRF) and came across a bug related to `pk` vs `id` when filtering across foreign keys.
For example, I have the following DRF ViewSet (the …
-
The following requirements work fine with tests suite
```
django-filter==0.11.0
django-model-utils==2.3.1
Django==1.8.4
djangorestframework==3.2.2
drf-extensions==0.2.7
```
### Error
Upgrading to dj…
-
I have a `ViewSet` with `search_fields`.
When I do a get request with a non ASCII code it give me UnicodeDecodeError.
Example:
`/api/users/?search=cerè`
I got this error:
```
UnicodeDecodeError at …
gio82 updated
9 years ago
-
TLDR: determine whether and how to support optimized queries for async hasMany relationships.
In Toran's original ED adapter, hasMany records were looked up using a nested url structure (e.g. `/deale…
-
For example - All List route Route instances have exatly the same instance of initkwargs dict with {'suffix':'List'} as value of initkwargs.
Most of time it is not an issue, but should you want to ex…
-
I am using DRF with django-filters to provide a small shopping related API. It works fine all the time except when some special characters in the url are encoded.
For example, this url works
`/esa/w…
-
When filtering on a foreign key relationship, if a non-existent foreign key is specifed, the `qs` method in `BaseFilterSet` receives a ValidationError on line 259.
https://github.com/alex/django-fil…
-
Unless I am wrong here, it seems like the GET method should support forms like PUT, POST etc.
For example. I have an API that allows searching, this is relevant only to the GET method. As such, I wou…
-
While working on a project that utilizes DRF we have found some certain limitations of *ModeMixn (ReadModelMixin, UpdaModelMixin, ...) classes - the arguments provided in URL are directly provided to …