Skip to content

Commit f5c5d33

Browse files
authored
Fix import paths to match graphene>=1.0 paths
1 parent adfbffb commit f5c5d33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/types/scalars.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ The following is an example for creating a DateTime scalar:
2424
.. code:: python
2525
2626
import datetime
27-
from graphene.core.classtypes import Scalar
28-
from graphql.core.language import ast
27+
from graphene.types import Scalar
28+
from graphql.language import ast
2929
3030
class DateTime(Scalar):
3131
'''DateTime Scalar Description'''

0 commit comments

Comments
 (0)