Commit 96e81ede authored by Jason D Yeomans's avatar Jason D Yeomans
Browse files

Merge branch 'master' of git.gmu.edu:srct/roomlist

parents 1ee92d4a 058cf5bc
...@@ -9,6 +9,7 @@ from braces.views import LoginRequiredMixin ...@@ -9,6 +9,7 @@ from braces.views import LoginRequiredMixin
from django.views.generic import DetailView, ListView, CreateView, UpdateView, DeleteView from django.views.generic import DetailView, ListView, CreateView, UpdateView, DeleteView
from housing.models import Building, Room, Student from housing.models import Building, Room, Student
# a list of neighborhoods and their buildings # a list of neighborhoods and their buildings
class ListBuildings(LoginRequiredMixin, ListView): class ListBuildings(LoginRequiredMixin, ListView):
model = Building model = Building
...@@ -33,3 +34,9 @@ class DetailRoom(LoginRequiredMixin, ListView): ...@@ -33,3 +34,9 @@ class DetailRoom(LoginRequiredMixin, ListView):
class DetailStudent(LoginRequiredMixin, DetailView): class DetailStudent(LoginRequiredMixin, DetailView):
model = Student model = Student
login_url = '/' login_url = '/'
# update a student
# update a room
# update a building
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment