Revert "clean up code"

This reverts commit 00bdb8bce71050150e42fe15f40348dd2cce82ad.

Conflicts:
	ap/syllabus/urls.py
	ap/syllabus/views.py