Restoroo/core/views/customers.py
Kumi 6799a96334
Start frontend implementation
Implement base template handling, views
2023-04-22 14:18:58 +00:00

10 lines
No EOL
348 B
Python

from django.views.generic import TemplateView
class CustomerDashboardView(TemplateView):
template_name = 'manager/customer/dashboard.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['app_title'] = "Restoroo"
context['page_title'] = "Dashboard"
return context