learning-unlimited/ESP-Website — pull request #704 by benjaminjkraft (2013-09-13 17:25:32+00:00)
Title: Fixes order of @meets_deadline and @needs_teacher on various views.

This will cause a teacher who accidentally makes a student account to get a @needs_teacher error (which is helpful) instead of a deadline error (which isn't) if they go to teacher registration, for example. This was generally not necessary before the schema changes, since the deadline was open for all users, but with the new Permissions system it will generally only be open for the correct Role.