physics_workload.app.views¶
Functions¶
|
Handles what the front page should look like for different users. |
Package Contents¶
- physics_workload.app.views.home_view_redirect(request: django.http.HttpRequest) django.http.HttpResponseRedirect [source]¶
Handles what the front page should look like for different users. If the user is logged in and not an admin, then redirect them to their staff page.
- Parameters:
request
- Returns: