diff --git a/apps/accounts/views.py b/apps/accounts/views.py index 986bd534..481d3351 100644 --- a/apps/accounts/views.py +++ b/apps/accounts/views.py @@ -59,8 +59,18 @@ class DashboardView(TemplateView): + """ + This dashboard view was what people would see when signing into the admin. + We currently redirect to the provider portal home page as at present,we + only really logged in activity by users who work for the providers in our system. + """ template_name = "dashboard.html" + def get(self, request, *args, **kwargs): + return HttpResponseRedirect(reverse("provider_portal_home")) + + + class ProviderAutocompleteView(autocomplete.Select2QuerySetView): def get_queryset(self): # if a user is not authenticated don't show anything