Commit Graph

1081 Commits

Author SHA1 Message Date
Syrus Akbary
84dbc58115 Improved Django Compatibility. Added graphql_schema command tests #73 2016-01-03 18:51:02 +01:00
Adam Charnock
2264c3dce2 Merge pull request #2 from syrusakbary/feature/django
Improved integration with Django
2016-01-02 20:36:06 +00:00
Syrus Akbary
70a4bd13c1 Fixed non-removed code from django filters and some PEP8 errors 2016-01-02 21:35:36 +01:00
Syrus Akbary
328652b820 Renamed cookbook to cookbook Django 2016-01-02 21:23:40 +01:00
Syrus Akbary
69062aa6d1 Improved PEP8 syntax and order imports 2016-01-02 21:19:15 +01:00
Syrus Akbary
e1145b88fb Improved resolvers in Django 2016-01-02 21:13:54 +01:00
Syrus Akbary
33c58f6cfa Improved default field getter and improved relay connection resolver 2016-01-02 21:04:27 +01:00
Adam Charnock
ffc6707fbf Adding graphene.contrib.django to INSTALLED_APPS in django quickstart 2016-01-02 19:11:38 +00:00
Syrus Akbary
39a4fe20b3 Fixed builds and flexibilize the graphql-core integration 2016-01-02 14:49:08 +01:00
Adam Charnock
442998cbb3 Adding Readme file to cookbook example project 2015-12-31 13:16:23 +00:00
Adam Charnock
716aa8ff66 Adding links to the cookbook example app (links should work upon merge) 2015-12-31 03:18:37 +00:00
Adam Charnock
a881aa94e4 Adding fixture link to docs. This link will work once code is merged 2015-12-31 03:05:19 +00:00
Adam Charnock
c70b5f2f0d Adding cookbook example app demoing new django functionality 2015-12-31 03:01:36 +00:00
Adam Charnock
216c4350a1 Further additions to docs for new django functionality 2015-12-31 02:58:13 +00:00
Adam Charnock
b44bae115d Adding test to reproduce bug whereby the FilterConnectionResolver does not correctly traverse relationships 2015-12-29 16:57:41 +00:00
Adam Charnock
5e6f4cf302 Further work on django quickstart 2015-12-29 14:18:32 +00:00
Adam Charnock
90f58e786a Merge branch 'feature/django' into feature/django-docs 2015-12-29 13:31:31 +00:00
Adam Charnock
58421cda14 Merge remote-tracking branch 'graphql/master' into feature/django 2015-12-29 13:30:05 +00:00
Adam Charnock
7182aeec17 Minor updates to django-quickstart 2015-12-29 13:29:20 +00:00
Syrus Akbary
062c0f9ed5 Merge pull request #73 from lightning18/dump-schema
Implement Django command for dumping schema.json
2015-12-18 19:24:22 +01:00
Kevin Abiera
73c04f22c8
Implement Django command for dumping schema.json
* Implement Django `./manage.py graphql_schema`

* Required to have 'graphene.django.contrib' in INSTALLED_APPS setting

* Introduces two new optional settings GRAPHENE_SCHEMA and
  GRAPHENE_SCHEMA_OUTPUT

* GRAPHENE_SCHEMA for the Django app containing the schema

* GRAPHENE_SCHEMA_OUTPUT for the output file (defaults to schema.json)

* Use `./manage.py graphql_schema -h` for help in command line
2015-12-18 20:57:24 +08:00
Syrus Akbary
9b8c75be9a Merge pull request #71 from lightning18/ip-address-field
Add support for GenericIPAddressField
2015-12-12 10:58:57 -08:00
Kevin Abiera
6c0bc4c545
Add support for GenericIPAddressField 2015-12-12 22:16:20 +08:00
Adam Charnock
6562a78b99 Merge pull request #1 from syrusakbary/feature/adam-django
Fixed tests and merged most recent code changes
2015-12-12 09:44:17 +00:00
Syrus Akbary
c7026329d3 Moved django filter tests 2015-12-12 00:54:51 -08:00
Syrus Akbary
8eaa2cfc49 Fixed compatibility with Django 1.6, 1.7, 1.8 and 1.9 2015-12-12 00:51:31 -08:00
Syrus Akbary
35d78320e8 Simplified filter in types and fields. All tests passing 2015-12-11 23:39:41 -08:00
Syrus Akbary
b4f7df3c9d Fixed argument getter in django filters tests 2015-12-11 15:43:22 -08:00
Syrus Akbary
90889ca455 Merge branch 'master' of github.com:graphql-python/graphene 2015-12-11 14:00:48 -08:00
Syrus Akbary
0daf6d8ec0 Merge pull request #69 from ustun/improve_object_argument_docs
Add documentation about using custom input object types as arguments
2015-12-11 13:55:31 -08:00
Syrus Akbary
689db2c70e Fixed incompatible syntax in Python 2.7 2015-12-11 11:03:49 -08:00
Syrus Akbary
cdfe7bd33e Merge branch 'refs/heads/master' into feature/adam-django 2015-12-11 10:59:55 -08:00
Syrus Akbary
9dcd7986b8 Improved testing on fields 2015-12-11 10:53:05 -08:00
Syrus Akbary
2eea03cb62 Improved name in Field. Could be an Argument 2015-12-11 10:42:10 -08:00
Ustun Ozgur
ab9d382cdf Add documentation about using custom input object types as arguments
Proper indentation

Add secondary field to make the intent explicit
2015-12-11 20:02:15 +02:00
Syrus Akbary
e27af63f3a Updated version to 0.5.0 2015-12-10 22:27:56 -08:00
Syrus Akbary
930f084912 Fixed DjangoDebugPlugin. Improved Django views 2015-12-10 22:11:43 -08:00
Syrus Akbary
a161738f3d Merge pull request #65 from graphql-python/features/plugins-autocamelcase
Create plugin structure
2015-12-09 19:52:12 -08:00
Syrus Akbary
64460839be Merge pull request #64 from graphql-python/features/django-debug
Add plugin to debug Django SQL queries in the Query (similar to DjangoDebugToolbar)
2015-12-09 19:48:57 -08:00
Syrus Akbary
c8f4c13822 Improved plugin execution 2015-12-09 19:44:35 -08:00
Syrus Akbary
b3b440f837 Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-09 19:28:43 -08:00
Syrus Akbary
dca435a220 Improved plugin system 2015-12-09 19:26:46 -08:00
Syrus Akbary
dd5b26e6ed Improved debug plugin structure 2015-12-06 16:51:37 -08:00
Syrus Akbary
bd35fcee6c Merge branch 'refs/heads/features/plugins-autocamelcase' into features/django-debug 2015-12-06 16:39:32 -08:00
Syrus Akbary
cd5d9b8eea Improved plugin structure based on @adamcharnock suggestions 2015-12-06 16:34:47 -08:00
Syrus Akbary
730de3f289 Merge branch 'refs/heads/master' into features/plugins-autocamelcase
Conflicts:
	graphene/core/types/argument.py
2015-12-06 16:04:44 -08:00
Syrus Akbary
2724025a5b Improved ScalarTypes code 2015-12-06 15:53:56 -08:00
Syrus Akbary
37a454b831 Renamed BaseType to InstanceType for code clarity 2015-12-06 15:49:54 -08:00
Syrus Akbary
9e1dd8e314 Merge branch 'refs/heads/master' into features/plugins-autocamelcase
Conflicts:
	graphene/core/schema.py
2015-12-06 15:43:57 -08:00
Syrus Akbary
5e708cc919 Improved tests. Improved schema.type getter. Remove duplicated Scalar code 2015-12-06 15:32:31 -08:00