We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de98fb5 commit 51adb36Copy full SHA for 51adb36
README.md
@@ -38,12 +38,12 @@ GRAPHENE = {
38
We need to set up a `GraphQL` endpoint in our Django app, so we can serve the queries.
39
40
```python
41
-from django.conf.urls import url
+from django.urls import path
42
from graphene_django.views import GraphQLView
43
44
urlpatterns = [
45
# ...
46
- url(r'^graphql$', GraphQLView.as_view(graphiql=True)),
+ path('graphql', GraphQLView.as_view(graphiql=True)),
47
]
48
```
49
@@ -100,4 +100,4 @@ To learn more check out the following [examples](examples/):
100
101
## Contributing
102
103
-See [CONTRIBUTING.md](CONTRIBUTING.md)
+See [CONTRIBUTING.md](CONTRIBUTING.md)
0 commit comments