graphene-django/graphene_django
andrei-datcu 5ce4553244
Fix schema dump on windows (#1123)
Without explicitly setting the encoding to "utf-8" I get the following error on windows (python 3.9)

```
  File "D:\env\lib\site-packages\graphene_django\management\commands\graphql_schema.py", line 115, in handle
    self.get_schema(schema, out, indent)
  File "D:\env\lib\site-packages\graphene_django\management\commands\graphql_schema.py", line 72, in get_schema
    self.save_graphql_file(out, schema)                                                                                   
  File "D:\env\lib\site-packages\graphene_django\management\commands\graphql_schema.py", line 59, in save_graphql_file      
    outfile.write(print_schema(schema.graphql_schema))                                                                    
  File "C:\Users\u\AppData\Local\Programs\Python\Python39\lib\encodings\cp1252.py", line 19, in encode 
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
```
2021-02-22 20:20:59 -08:00
..
debug Merge branch 'master' into v3 2020-06-27 11:14:09 +01:00
filter Fix test main (#1126) 2021-02-20 14:26:06 -08:00
forms WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
management Fix schema dump on windows (#1123) 2021-02-22 20:20:59 -08:00
rest_framework WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
static/graphene_django Fix subscriptions in JS (#1124) 2021-02-22 20:19:20 -08:00
templates/graphene Add headers support to GraphiQL (#1016) 2020-08-07 10:13:26 +01:00
tests Add BlankField and mount enums using it v3 (#1096) 2021-01-11 16:34:50 -08:00
utils Doc clarification for headers arg in testing utils (#1117) 2021-02-22 20:13:49 -08:00
__init__.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
compat.py Fix project setup (#1087) 2021-01-02 09:46:00 -08:00
conftest.py Make tests order independent (#932) 2020-04-20 13:23:20 +01:00
constants.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
converter.py Remove unused imports (#1127) 2021-02-22 20:10:30 -08:00
fields.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
registry.py Reformatted files using black 2018-07-19 16:52:24 -07:00
settings.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00
types.py Merge branch 'master' into v3 2020-08-12 07:06:35 +01:00
views.py WIP: Merge master into v3 (#1086) 2020-12-30 15:37:57 -08:00