updated course_period method to allow for taking course attendance after...

... the course period is over
This is called a naked except and you shouldn't use it. Check out the first() method for django ORM. 

http://blog.codekills.net/2011/09/29/the-evils-of--except--/