update subject.html
update views.py
refractor + add subject table
update