timeline package¶
Submodules¶
timeline.apps module¶
timeline.models module¶
timeline.urls module¶
Defines the URLs for the RESTful recipe services
timeline.views module¶
-
class
timeline.views.
TimelineJobTypeView
(**kwargs)¶ Bases:
rest_framework.generics.ListAPIView
This view is the endpoint for retrieving recipe type timeline information
-
list
(request)¶ Retrieves the list of recipe types and returns it in JSON form
Parameters: request ( rest_framework.request.Request
) – The HTTP GET requestReturn type: rest_framework.response.Response
Returns: the HTTP response to send back to the user
-
-
class
timeline.views.
TimelineRecipeTypeView
(**kwargs)¶ Bases:
rest_framework.generics.ListAPIView
This view is the endpoint for retrieving recipe type timeline information
-
list
(request)¶ Retrieves the list of recipe types and returns it in JSON form
Parameters: request ( rest_framework.request.Request
) – The HTTP GET requestReturn type: rest_framework.response.Response
Returns: the HTTP response to send back to the user
-