File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ class Process(models.Model, metaclass=BaseProcess):
68
68
Processes are also the vehicle for the other two components tasks and
69
69
:attr:`.edges`.
70
70
"""
71
+
71
72
id = models .BigAutoField (primary_key = True , editable = False )
72
73
created = models .DateTimeField (auto_now_add = True , db_index = True )
73
74
modified = models .DateTimeField (auto_now = True , db_index = True )
@@ -109,9 +110,7 @@ def urls(cls):
109
110
"""
110
111
Return all URLs to process related task and other special views.
111
112
112
- Examples:
113
-
114
- .. code-block:: python
113
+ Example::
115
114
116
115
from django.urls import path, include
117
116
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ class StartView(TaskViewMixin, generic.CreateView):
19
19
Similar to Django's :class:`CreateView<django.views.generic.edit.CreateView>`
20
20
but does not only create the process but also completes a tasks.
21
21
"""
22
+
22
23
pass
23
24
24
25
@@ -29,4 +30,5 @@ class UpdateView(TaskViewMixin, generic.UpdateView):
29
30
Similar to Django's :class:`UpdateView<django.views.generic.edit.UpdateView>`
30
31
but does not only update the process but also completes a tasks.
31
32
"""
33
+
32
34
pass
You can’t perform that action at this time.
0 commit comments