Skip to content

Commit

Permalink
Add the redirect to the provider portal again
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Jul 9, 2024
1 parent 670c336 commit b78ba81
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b78ba81

Please sign in to comment.