Skip to content

Commit 3bc0f5f

Browse files
committed
Moved all the examples from tests to examples
1 parent f4c1e71 commit 3bc0f5f

22 files changed

+16
-14
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,5 @@ docs/_build/
5959
# PyBuilder
6060
target/
6161

62+
63+
/tests/django.sqlite

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ result = schema.execute(query)
4949

5050
If you want to learn even more, you can also check the following examples:
5151

52-
* Relay Schema: [Starwars Relay example](tests/starwars_relay)
53-
* Django: [Starwars Django example](tests/starwars_django)
52+
* Relay Schema: [Starwars Relay example](examples/starwars_relay)
53+
* Django: [Starwars Django example](examples/starwars_django)
5454

5555

5656
## Contributing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/starwars/test_query.py renamed to examples/starwars/tests/test_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from .schema import Schema, Query
1+
from ..schema import Schema, Query
22
from graphql.core import graphql
3-
from .data import setup
3+
from ..data import setup
44

55
setup()
66

examples/starwars_django/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)