Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
roomlist
Commits
fdcc82b2
Commit
fdcc82b2
authored
Nov 22, 2014
by
Daniel W Bond
Browse files
added beginnings of updateviews
parent
dfdcab81
Changes
1
Hide whitespace changes
Inline
Side-by-side
roomlist/housing/views.py
View file @
fdcc82b2
...
...
@@ -30,7 +30,17 @@ class DetailStudent(LoginRequiredMixin, DetailView):
login_url
=
'/'
# update a student
#class UpdateStudent(LoginRequiredMixin, UpdateView):
# model = Student
# form_class = '/'
# success_url = '/' # change the success url to something more interesting
# login_url = '/'
# update a room
#class updateroom(loginrequiredmixin, updateview):
# model = room
# form_class =
# success_url = '/' # change the success url to something more interesting
#
update a building
#
login_url = '/'
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