mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
Update README.md
This commit is contained in:
parent
e1cfc0a80b
commit
cfc8fea7f5
|
@ -1,7 +1,3 @@
|
||||||
Please read [UPGRADE-v2.0.md](https://github.com/graphql-python/graphene/blob/master/UPGRADE-v2.0.md) to learn how to upgrade to Graphene `2.0`.
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# ![Graphene Logo](http://graphene-python.org/favicon.png) Graphene-Django
|
# ![Graphene Logo](http://graphene-python.org/favicon.png) Graphene-Django
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,7 +8,7 @@ A [Django](https://www.djangoproject.com/) integration for [Graphene](http://gra
|
||||||
[![Anaconda-Server Badge][conda-image]][conda-url]
|
[![Anaconda-Server Badge][conda-image]][conda-url]
|
||||||
[![coveralls][coveralls-image]][coveralls-url]
|
[![coveralls][coveralls-image]][coveralls-url]
|
||||||
|
|
||||||
[travis-image]: https://travis-ci.org/graphql-python/graphene-django.svg?style=flat
|
[travis-image]: https://travis-ci.org/graphql-python/graphene-django.svg?branch=master&style=flat
|
||||||
[travis-url]: https://travis-ci.org/graphql-python/graphene-django
|
[travis-url]: https://travis-ci.org/graphql-python/graphene-django
|
||||||
[pypi-image]: https://img.shields.io/pypi/v/graphene-django.svg?style=flat
|
[pypi-image]: https://img.shields.io/pypi/v/graphene-django.svg?style=flat
|
||||||
[pypi-url]: https://pypi.org/project/graphene-django/
|
[pypi-url]: https://pypi.org/project/graphene-django/
|
||||||
|
@ -94,7 +90,7 @@ class Query(graphene.ObjectType):
|
||||||
schema = graphene.Schema(query=Query)
|
schema = graphene.Schema(query=Query)
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you can simply query the schema:
|
Then you can query the schema:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
query = '''
|
query = '''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user