Commit Graph

512 Commits

Author SHA1 Message Date
Jonathan Mares
0b103417f9 on_delete param where needed due to django 2 requirements
added support for querying a model with objects that may be a proxy model, fixed and added tests

a few style changes
2018-02-03 11:10:04 -05:00
mongkok
55dc65753e Test custom meta .setdefault() 2018-02-03 21:12:35 +05:30
Syrus Akbary
e827b10e7b
Merge pull request #379 from mongkok/default-meta
Allow DjangoObjectType to have default meta
2018-02-02 15:06:09 -08:00
Syrus Akbary
fd3faf04e5
Merge pull request #341 from urbandove/tests
Add tests
2018-02-02 13:57:12 -08:00
mongkok
3051374b46 Fix Python 2.7 super arguments 2018-02-03 03:23:10 +05:30
mongkok
be4a6231ae Merge branch 'master' into default-meta 2018-02-03 03:17:11 +05:30
mongkok
b81e961c86 Test DjangoObjectType with custom meta #364 2018-02-03 03:16:58 +05:30
Anton Zhdan-Pushkin
3682fe0318 Test of inherited class 2018-02-01 16:39:06 +02:00
Anton Zhdan-Pushkin
2cb3d4b68e Class attributes for GraphQLView (schema, pretty, graphiql, batch) 2018-02-01 16:39:06 +02:00
Jonathan Kim
cf35f7c76c Upgrade graphiql and react versions 2018-02-01 10:01:05 +00:00
Samuel Cormier-Iijima
bb2d24ec27
Convert Date/Time/DateTime form fields to appropriate Graphene types 2018-02-01 09:57:24 +00:00
Patrick Arminio
6a152820ca
Improve ErrorType
Marks some fields as required and non null, it also prevents to do useless checks on the frontend if using a typed language.
2018-02-01 09:52:16 +00:00
Syrus Akbary
53546a27de
Merge pull request #388 from graphql-python/fix/drf-test
Fix Django Rest Framework version when testing
2018-01-31 18:59:34 -08:00
Patrick Arminio
0dddea534f
Fix django rest framework version when testing 2018-01-31 11:06:42 +00:00
mongkok
167d0a3964 Allow DjangoObjectType to have default _meta 2018-01-22 01:03:52 +05:30
Syrus Akbary
e05f069b3b
Merge pull request #377 from faassen/patch-1
Adjustments to make it work with Django 2.0.1
2018-01-20 16:17:47 -08:00
Syrus Akbary
961404f397
Merge pull request #339 from urbandove/rm-django1.7
Remove Django1.7 shims
2018-01-20 16:17:21 -08:00
Martijn Faassen
ea4ddc7f79
Adjustments to make it work with Django 2.0.1
I tried the tutorial but ran into these two problems in Django 2.0.1.
2018-01-18 16:46:08 +01:00
yothinix
76a1d43e66 Update example query document link 2017-12-30 18:34:46 +07:00
=
1352d4e02b Fix func names 2017-12-18 12:33:42 -05:00
=
7f8877fba5 Fix merge conflicts 2017-12-18 12:27:48 -05:00
=
fe35baa627 Fix merge conflict 2017-12-18 12:26:40 -05:00
urbandove
c73b6e32a9
Merge branch 'master' into master 2017-12-18 12:24:27 -05:00
=
c952ef1a88 Date Scalar only added in graphene 2.0.1 2017-12-18 12:21:49 -05:00
=
f31db13cd0 Add blank line for linting 2017-12-18 12:02:04 -05:00
=
6e1d340c87 Merge branch 'master' of git://github.com/graphql-python/graphene-django into rm-django1.7 2017-12-18 12:00:18 -05:00
=
28cccb49f7 add saces for linter 2017-12-18 11:40:19 -05:00
Syrus Akbary
b54e02c9ba
Merge pull request #338 from spockNinja/fix_tests
Fixing the test build
2017-12-17 16:04:27 -08:00
=
6da95d72ea Rename [html/json]_index to _priority 2017-12-16 19:32:01 -05:00
=
51f794edb6 Test Connectionfield with custom Manager 2017-12-12 12:52:32 -05:00
=
616c549d2c Fix ConnectionField Last Test 2017-12-12 12:49:02 -05:00
=
29935c2d33 Test Last works 2017-12-12 12:33:32 -05:00
=
de59d26968 Test: erro if last is greater than max - plus fix wrong variable 2017-12-12 12:24:11 -05:00
=
65e63026a0 Add tests 2017-12-11 21:23:00 -05:00
=
6008cb6de4 Fix qfactor rankings for HTTP-ACCEPT 2017-12-11 21:08:42 -05:00
=
d2db5f5584 Remove Django1.7 shims 2017-12-10 00:53:13 -05:00
=
f8a5860f34 django version depends on python version 2017-12-09 14:24:48 -08:00
=
61829abc8c Add testing to django 2 2017-12-07 13:06:31 -05:00
=
f687406ac5 Add on_delete atrributes to test models foreignkeys 2017-12-07 13:00:22 -05:00
=
489d2878da django version depends on python version 2017-12-06 15:10:50 -05:00
=
384bff08e8 Add fallback for depracated atrribute 2017-12-06 13:10:03 -05:00
=
d314d1041f rel -> remote_field: Update Django DeprecatedAttribute 2017-12-06 12:50:55 -05:00
=
62c0694901 models.DateField corresponds to graphene Date Scalar 2017-12-05 15:04:29 -05:00
=
73706fa6bb Add on_delete atrributes to test models foreignkeys 2017-12-05 15:01:52 -05:00
Stefan Stammberger
443b5eaafc
Docs: Update Cookbook tutorial 2017-12-02 19:35:17 +01:00
Syrus Akbary
24706f50d4
Merge pull request #332 from MichaelDanielTom/MichaelDanielTom-patch-1
Readme typo fix
2017-11-29 22:06:26 -08:00
Grant McConnaughey
c3938d1e4f Fix line length 2017-11-29 15:31:26 -06:00
Grant McConnaughey
6d7a0d053d Make id field an ID type 2017-11-29 15:25:24 -06:00
Grant McConnaughey
748dc4c509 Add id input field to model form mutation 2017-11-29 15:15:16 -06:00
Grant McConnaughey
d6dbe2a4a8 Default return_field_name is camcelcased 2017-11-29 14:20:56 -06:00