Merge pull request #144 from Brett78/issue-137

Requests list now also requires login
This commit is contained in:
Oliver Marks 2017-09-23 14:53:38 +01:00 committed by GitHub
commit 88858b5e95
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class RequestsForm(FormView):
return super(FormView, self).form_valid(form)
@method_decorator(login_required, name='dispatch')
class RequestsList(ListView):
template_name = 'pages/requests.html'
model = UserRequests

View File

@ -16,7 +16,7 @@
<div class="row">
<div class="col">
Make a request for equipment you would like to see in the space, request training on equipment or ak a member to run a workshop or talk on something.
Make a request for equipment you would like to see in the space, request training on equipment or ask a member to run a workshop or talk on something.
</div>
</div>