Commit 4e45f236 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added comments for tba updateviews

parent 65ed4e15
......@@ -9,6 +9,7 @@ from braces.views import LoginRequiredMixin
from django.views.generic import DetailView, ListView, CreateView, UpdateView, DeleteView
from housing.models import Building, Room, Student
# a list of neighborhoods and their buildings
class ListBuildings(LoginRequiredMixin, ListView):
model = Building
......@@ -34,6 +35,12 @@ class DetailStudent(LoginRequiredMixin, DetailStudent):
model = Student
login_url = '/'
# update a student
# update a room
# update a building
def index(request):
template = loader.get_template('index.html')
context = RequestContext(request, {
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