@@ -170,7 +170,7 @@ class RequestUrlField(TypedEndpointAttributeMixin, EndpointAttribute):
170
170
171
171
.. code-block:: python
172
172
173
- from django-declarative-apis .machinery import url_field
173
+ from django_declarative_apis .machinery import url_field
174
174
175
175
class TodoDeleteSingleTaskDefinition(
176
176
TodoResourceMixin,
@@ -213,7 +213,7 @@ class RequestField(TypedEndpointAttributeMixin, RequestProperty):
213
213
214
214
.. code-block:: python
215
215
216
- from django-declarative-apis .machinery import field
216
+ from django_declarative_apis .machinery import field
217
217
218
218
task = field(required=True, type=str)
219
219
@@ -253,7 +253,7 @@ class RequestField(TypedEndpointAttributeMixin, RequestProperty):
253
253
254
254
.. code-block:: python
255
255
256
- from django-declarative-apis .machinery import field
256
+ from django_declarative_apis .machinery import field
257
257
258
258
class FooDefinition(EndpointDefinition):
259
259
foo = field(multivalued=True)
@@ -445,7 +445,7 @@ class EndpointTask(EndpointAttribute):
445
445
446
446
.. code-block:: python
447
447
448
- from django-declarative-apis .machinery import task
448
+ from django_declarative_apis .machinery import task
449
449
450
450
class SampleClass:
451
451
# code
@@ -473,7 +473,7 @@ def sample_function():
473
473
474
474
.. code-block:: python
475
475
476
- from django-declarative-apis .machinery import task
476
+ from django_declarative_apis .machinery import task
477
477
478
478
class SampleEndpointDefinition:
479
479
def is_authorized(self):
@@ -554,7 +554,7 @@ class DeferrableEndpointTask(EndpointTask):
554
554
555
555
.. code-block:: python
556
556
557
- from django-declarative-apis .machinery import deferrable_task
557
+ from django_declarative_apis .machinery import deferrable_task
558
558
559
559
class SampleClass:
560
560
# code
@@ -610,7 +610,7 @@ def sample_method(arg):
610
610
611
611
.. code-block:: python
612
612
613
- from django-declarative-apis .machinery import deferrable_task
613
+ from django_declarative_apis .machinery import deferrable_task
614
614
615
615
class SampleClass:
616
616
# code
@@ -821,7 +821,7 @@ class RequireOneAttribute(RequestFieldGroup):
821
821
822
822
.. code-block:: python
823
823
824
- from django-declarative-apis .machinery import require_one
824
+ from django_declarative_apis .machinery import require_one
825
825
826
826
sample_field_1 = field()
827
827
sample_field_2 = field()
@@ -888,7 +888,7 @@ class Aggregate(EndpointAttribute):
888
888
889
889
.. code-block:: python
890
890
891
- from django-declarative-apis .machinery import aggregate
891
+ from django_declarative_apis .machinery import aggregate
892
892
893
893
class SampleClass:
894
894
# code
@@ -910,7 +910,7 @@ def sample_function():
910
910
911
911
.. code-block:: python
912
912
913
- from django-declarative-apis .machinery import aggregate
913
+ from django_declarative_apis .machinery import aggregate
914
914
915
915
class SampleClass:
916
916
user_id = url_field()
0 commit comments