-
when try to create nested record; show this error `Field name `_` is not valid for model `ModelName`.`
-
This looks really cool.
My team has been using and contributing to RestQL for several months and we built the majority of the implementation around auto eager loading/mapping definitions, from the …
jheld updated
3 years ago
-
Awesome library, love what you're doing here.
My only challenge is updating parent model without adding the child key. So, if I just want to PATCH one field on the `Room` model below, like the `nam…
-
how can I use django-restql in api_view?
for example:
```
@api_view()
def getInputCartWithCartJidView(request, cart_jid):
InputCarts = InputCart.objects.get(cart_jid=cart_jid)
return Res…
-
I am using the 0.13.0 new feature "query kwarg" and I found if I follow the document way to use it. It can work perfectly.
```
objs = Course.objects.all()
query = "{name, books{title}}"
serializ…
-
This will be like a playground which will allow people to test the library by both querying and mutating data.
-
I've lately been using the OPTIONS request to get metadata on the fields that I defined for my serializer. However, after sending the request, I'll get metadata on all fields from a nested serializer …
-
After a validation from model (ex.: unique field violate), I cannot send the request again.
It causes a constraint error:
null value in column "foo_id" violates not-null constraint
alepn updated
3 years ago
-
I'm getting the above error when I try to create nested objects.
My serializers:
```
class ContactInfoSerializer(DynamicFieldsMixin, NestedModelSerializer):
phones = NestedField(PhoneSeriali…
-
Hi,
I am running python 3.8, django 3 and django-auditlog 0.4.5 (latest pip and PyCharm know about).
When I try to do a clean `python manage.py makemigrations ...` I get:
```
Traceback (most…