Commit Graph

22 Commits

Author SHA1 Message Date
Pablo Alexis Domínguez Grau
3f813d4679
Fix ReadTheDocs builds (#1509)
* Add RTD config file

* Doc fixes to reference main branch instead of master
2024-03-29 12:11:56 +08:00
Nikolai Røed Kristiansen
4517e32224
👷 Add pre-commit (#1336)
* 🔧 Add pre-commit config

Similar to graphene and graphene-sqlalchemy

* ⬆ Bump black

* 👷 Lint on CI

* ⬆ Bump flake8-black

* 🔧 Keep excluding migrations

* ⬆ Bump flake8

* 🔧 Remove black and flake8 from tox config

* ⬆ Update pre-commit versions

* Upgrade syntax to python 3.7+

* Format with pre-commit

dedent docs/schema.py to allow formatting

* Fix tests on python 3.7
2022-10-19 17:10:30 +03:00
Gabriel Lacroix
9a60589732
Make instructions runnable without tweaking (#1224)
Introduces two changes to make sure the instructions in the tutorial don't require debugging:

- Add `cd ..` when first syncing the database so that `manage.py` is accessible in the working directory.
- Change `cookbook.ingredients.apps.IngredientsConfig.name` to `cookbook.ingredients` from `ingredients` to prevent the following exception:

  ```python
django.core.exceptions.ImproperlyConfigured: Cannot import 'ingredients'. Check that 'cookbook.ingredients.apps.IngredientsConfig.name' is correct.
```
2022-09-24 16:02:33 +03:00
Jonathan Kim
97de26bf2e
Update tutorial docs (#994) 2020-08-05 20:17:53 +01:00
Akhil Gopi
13352216a4
Improv/documentation fixes (#895)
* Bump up the minimum support Django version.

* Update documentation to mention support for Django 1.11.

Co-authored-by: Akhil <akhil@healthifyme.com>
2020-03-07 17:17:45 +01:00
Athul Cyriac Ajay
e51e60209a Updated Tutorial with Highlights (#801) 2019-10-31 19:31:31 -04:00
Paul Hallett
31468f5687
Rebuild documentation 2019-05-07 19:23:01 +01:00
Adam Johnson
1ba9652f38
Reword 'abstract' -> 'mixin' in plain tutorial
More technically correct
2018-08-01 12:51:46 +01:00
Syrus Akbary
701611c246
Moved the admin plug down to the proper section 2018-06-05 14:48:06 -07:00
Stefan Stammberger
443b5eaafc
Docs: Update Cookbook tutorial 2017-12-02 19:35:17 +01:00
Kees Kluskens
70a6c72751
Docs: fix usage of deprecated AbstractType
A tutorial still used `graphene.AbstractType` instead of `object`, which leads to a [deprecation warning](https://github.com/graphql-python/graphene/blob/master/UPGRADE-v2.0.md#abstracttype-deprecated).
2017-11-18 22:10:39 +01:00
Justin Tervay
bbcd69967c
Fix typos 2017-11-01 13:56:28 -07:00
Nik Nyby
04fc5a0305 intro tutorial: setup -> set up
"setup" is a noun, while "set up" is a verb. I've updated the usage here.
2017-10-04 23:13:00 -04:00
Jeremy Spencer
84d063261e Updated tutorial-plain to be in line with breaking changes in graphen-python>=2.0.dev: https://github.com/graphql-python/graphene/blob/master/UPGRADE-v2.0.md\#simpler-resolvers 2017-09-04 08:04:10 -04:00
Jesus Mª
e425758f5b Fix install ingredients app
You need the app installed for the migrations
2017-07-17 23:51:21 +02:00
Bryan Kimani
caa6eecc7a Update tutorial-plain.rst
If your run ``$ python ./manage.py loaddata ingredients`` without installing ``ingredients`` app in the project ``settings.py`` you will get the following error ``CommandError: No fixture named 'ingredients' found``. So make sure ``ingredients`` app has been put on the ``settings.py`` INSTALLED_APPS section before running ``$ python ./manage.py loaddata ingredients``.
2017-05-01 21:08:38 +03:00
Radoslav Georgiev
5d7794815f Fix GraphiQL URL which is configured in the tutorial.
- Based on <e063ef3cfc>
2017-02-21 21:39:25 +02:00
Radoslav Georgiev
0b4db6a42d Improve summary section
- Mention automatic pagination
2017-02-21 21:15:43 +02:00
Radoslav Georgiev
9621054852 Add reference to cookbook-plain in tutorial-plain.rst 2017-02-14 20:28:49 +02:00
Radoslav Georgiev
b55e988205 Add Summary section with some paragraphs 2017-02-14 19:55:38 +02:00
Radoslav Georgiev
1304183893 Spellcheck tutorial-plain.rst 2017-02-12 16:48:48 +02:00
Radoslav Georgiev
61dd8c4277 Add basic structure for plain tutorial
- `tutorial.rst` is now `tutorial-relay.rst`
- Added `tutorial-plain.rst`
2017-02-12 16:44:39 +02:00