You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -298,7 +298,7 @@ There's a lot more to cover, please take a look at our docs:
298
298
https://python-statemachine.readthedocs.io.
299
299
300
300
301
-
## Contributing
301
+
## Contributing to the project
302
302
303
303
* <aclass="github-button"href="https://github.com/fgmacedo/python-statemachine"data-icon="octicon-star"aria-label="Star fgmacedo/python-statemachine on GitHub">Star this project</a>
304
304
* <aclass="github-button"href="https://github.com/fgmacedo/python-statemachine/issues"data-icon="octicon-issue-opened"aria-label="Issue fgmacedo/python-statemachine on GitHub">Open an Issue</a>
Copy file name to clipboardExpand all lines: docs/integrations.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,21 @@
3
3
4
4
## Django integration
5
5
6
-
When used in a Django App, this library implements an auto-discovery hook similar to how Django's built-in **admin**[autodiscover](https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.autodiscover).
6
+
When used in a Django App, this library implements an auto-discovery hook similar to how Django's
Copy file name to clipboardExpand all lines: docs/models.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,16 +13,15 @@ If you don't pass an explicit model instance, this simple `Model` will be used:
13
13
:linenos:
14
14
```
15
15
16
-
```{eval-rst}
17
-
.. autoclass:: statemachine.model.Model
18
-
:members:
19
-
```
20
16
21
17
```{seealso}
22
-
See the {ref}`sphx_glr_auto_examples_order_control_rich_model_machine.py` as example of using a domain object to hold attributes and methods to be used on the `StateMachine` definition.
18
+
See the {ref}`sphx_glr_auto_examples_order_control_rich_model_machine.py` as example of using a
19
+
domain object to hold attributes and methods to be used on the `StateMachine` definition.
23
20
```
24
21
25
22
```{hint}
26
-
Domain models are registered as {ref}`observers`, so you can have the same level of functionalities provided to the built-in `StateMachine`, such as implementing all callbacks and guards on your domain model and keeping only the definition of states and transitions on
27
-
the `StateMachine`.
23
+
Domain models are registered as {ref}`observers`, so you can have the same level of functionalities
24
+
provided to the built-in {ref}`StateMachine`, such as implementing all {ref}`actions` and
25
+
{ref}`guards` on your domain model and keeping only the definition of {ref}`states` and
0 commit comments