Fix import paths to match graphene>=1.0 paths

This commit is contained in:
Vincent Driessen 2016-11-03 22:08:41 +01:00 committed by GitHub
parent adfbffb267
commit f5c5d33639

View File

@ -24,8 +24,8 @@ The following is an example for creating a DateTime scalar:
.. code:: python .. code:: python
import datetime import datetime
from graphene.core.classtypes import Scalar from graphene.types import Scalar
from graphql.core.language import ast from graphql.language import ast
class DateTime(Scalar): class DateTime(Scalar):
'''DateTime Scalar Description''' '''DateTime Scalar Description'''