Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bookshare
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
30
Issues
30
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
ca2752f6
Commit
ca2752f6
authored
Mar 03, 2020
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unnecessary context_object_names from lookouts when default is fine
parent
00db32c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
bookshare/lookouts/views.py
bookshare/lookouts/views.py
+0
-3
No files found.
bookshare/lookouts/views.py
View file @
ca2752f6
...
...
@@ -17,7 +17,6 @@ from core.models import Student
class
CreateLookout
(
LoginRequiredMixin
,
CreateView
):
model
=
Lookout
form_class
=
LookoutForm
context_object_name
=
'lookout'
template_name
=
'create_lookout.html'
login_url
=
'login'
...
...
@@ -42,7 +41,6 @@ class CreateLookout(LoginRequiredMixin, CreateView):
class
DetailLookout
(
LoginRequiredMixin
,
DetailView
):
model
=
Lookout
context_object_name
=
'lookout'
template_name
=
'detail_lookout.html'
login_url
=
'login'
...
...
@@ -60,7 +58,6 @@ class DetailLookout(LoginRequiredMixin, DetailView):
class
DeleteLookout
(
LoginRequiredMixin
,
FormValidMessageMixin
,
DeleteView
):
model
=
Lookout
context_object_name
=
'lookout'
template_name
=
'delete_lookout.html'
success_url
=
'/'
login_url
=
'login'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment