Update README.rst

This commit is contained in:
Syrus Akbary 2015-10-30 13:40:36 -07:00
parent 646c716041
commit 9ea57ecc5f
2 changed files with 14 additions and 9 deletions

View File

@ -2,9 +2,10 @@
Graphene is a Python library for building GraphQL schemas/types fast and easily. Graphene is a Python library for building GraphQL schemas/types fast and easily.
* **Easy to use:** Graphene helps you use GraphQL in Python without effort.
* **Relay:** Graphene has builtin support for Relay - **Easy to use:** Graphene helps you use GraphQL in Python without effort.
* **Django:** Automatic *Django model* mapping to Graphene Types. *See an [example Django](http://github.com/graphql-python/swapi-graphene) implementation* - **Relay:** Graphene has builtin support for Relay
- **Django:** Automatic *Django model* mapping to Graphene Types. Check a fully working [Django](http://github.com/graphql-python/swapi-graphene) implementation
*But, what is supported in this Python version?* **Everything**: Interfaces, ObjectTypes, Mutations and Relay (Nodes, Connections and Mutations). *But, what is supported in this Python version?* **Everything**: Interfaces, ObjectTypes, Mutations and Relay (Nodes, Connections and Mutations).

View File

@ -2,11 +2,15 @@
========================================================================================================= =========================================================================================================
Graphene is a Python library for building GraphQL schemas/types fast and Graphene is a Python library for building GraphQL schemas/types fast and
easily. \* **Easy to use:** Graphene helps you use GraphQL in Python easily.
without effort. \* **Relay:** Graphene has builtin support for Relay \*
**Django:** Automatic *Django model* mapping to Graphene Types. *See an - **Easy to use:** Graphene helps you use GraphQL in Python without
`example Django <http://github.com/graphql-python/swapi-graphene>`__ effort.
implementation* - **Relay:** Graphene has builtin support for Relay
- **Django:** Automatic *Django model* mapping to Graphene Types. Check
a fully working
`Django <http://github.com/graphql-python/swapi-graphene>`__
implementation
*But, what is supported in this Python version?* **Everything**: *But, what is supported in this Python version?* **Everything**:
Interfaces, ObjectTypes, Mutations and Relay (Nodes, Connections and Interfaces, ObjectTypes, Mutations and Relay (Nodes, Connections and
@ -50,7 +54,7 @@ Then Querying ``graphene.Schema`` is as simple as:
query = ''' query = '''
query SayHello { query SayHello {
hello hello
ping(to:'peter') ping(to:"peter")
} }
''' '''
result = schema.execute(query) result = schema.execute(query)