add syntax highlighting

luto 2020-01-07 00:23:38 +01:00
parent 3f4cfee32b
commit 41d2cb1618

@ -4,7 +4,7 @@ The trick here is to subclass `Connection` and declare a `connection_class` on y
You can now easily implement counts (or really anything) on your extended `Connection` class and use them in your queries, while retaining the built-in filtering that comes with `DjangoFilterConnectionField`:
```
```python
from graphene import ObjectType, Connection, Node, Int
from graphene_django import DjangoObjectType
from graphene_django.filter import DjangoFilterConnectionField
@ -57,7 +57,7 @@ This allows, on this example `schema`, querying:
```
Which returns:
```
```json
{
"data": {
"places": {