Siobhan Tully | cf04fb6 | 2014-01-11 11:25:57 -0500 | [diff] [blame] | 1 | #views.py |
2 | from django.views.generic import TemplateView | ||||
3 | |||||
4 | |||||
5 | class DashboardWelcomeView(TemplateView): | ||||
6 | template_name = 'admin/dashboard/welcome.html' | ||||
7 | |||||
8 | def get(self, request, *args, **kwargs): | ||||
9 | context = self.get_context_data(**kwargs) | ||||
10 | |||||
11 | return self.render_to_response(context=context) |