Source code for horizon.test.test_dashboards.cats.kittens.views
from horizon import views
[docs]class IndexView(views.APIView):
# A very simple class-based view...
template_name = 'cats/kittens/index.html'
[docs] def get_data(self, request, context, *args, **kwargs):
# Add data to the context here...
return context