Commit Graph

72 Commits

Author SHA1 Message Date
Syrus Akbary
d4ecd504e4 Added simple flask example 2016-01-22 21:44:41 -08: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
Adam Charnock
442998cbb3 Adding Readme file to cookbook example project 2015-12-31 13:16:23 +00:00
Adam Charnock
c70b5f2f0d Adding cookbook example app demoing new django functionality 2015-12-31 03:01:36 +00:00
Syrus Akbary
53de24b705 Improved django example 2015-12-03 18:34:38 -08:00
Syrus Akbary
b564e144df Improved examples. Fixed #45 2015-11-22 17:29:30 -08:00
Amit Saha
f3f210b523 Modify the field example to remove the use of interface 2015-11-20 16:25:18 +11:00
Amit Saha
295fba37d1 field example: use print() to keep Python 3 flake 8 happy 2015-11-20 11:55:32 +11:00
Amit Saha
932e3d8b00 Fix flake8 issues in field example 2015-11-20 11:47:10 +11:00
Amit Saha
7af41373a7 Example of querying a Python object 2015-11-20 11:19:22 +11:00
Jon Rosebaugh
a79a76d3b9 Add the info parameter (ResolveInfo) to get_node() calls.
This allows request_context (or any other ResolveInfo data) to be used while getting nodes.
For example, some data might need to be hidden based on the user's authorization; you would use info.request_context for this.

Fixes #34.
2015-11-17 23:44:01 -05:00
Syrus Akbary
00c9cc95d4 Improved test syntax 2015-11-16 19:49:40 -08:00
Syrus Akbary
bf168e7b12 Use new syntax for fields and arguments 2015-11-11 22:16:37 -08:00
Syrus Akbary
7073208517 Django integration finished 2015-11-11 21:46:26 -08:00
Syrus Akbary
6f87720fc1 Improved tests and coverage 2015-11-10 17:50:11 -08:00
Syrus Akbary
d13d7c0f68 Improved django example 2015-11-02 19:36:49 -08:00
Syrus Akbary
0a395fec58 Improved python syntax 2015-11-02 19:28:06 -08:00
Syrus Akbary
d46e957863 Improved syntax. Added autolinter. Added automatic flake8 checker in tests. Fixed #17 2015-10-31 14:02:22 -07:00
Syrus Akbary
97a81120b7 Added mutations in examples 2015-10-30 00:44:21 -07:00
Syrus Akbary
b06f44ed73 Removed unnecessary meta in starters example 2015-10-28 01:51:35 -07:00
Syrus Akbary
3bc0f5f8eb Moved all the examples from tests to examples 2015-10-27 23:56:24 -07:00