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