timeline package

Submodules

timeline.apps module

class timeline.apps.TimelineConfig(app_name, app_module)

Bases: django.apps.config.AppConfig

name = u'timeline'

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 request
Return 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 request
Return type:rest_framework.response.Response
Returns:the HTTP response to send back to the user

Module contents