Source code for horizon.test.test_dashboards.dogs.puppies.views

from horizon import views


[docs]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