troeger / opensubmit

Just another submission system for course assignment solutions. Supports semi-automated code evaluation.
GNU Affero General Public License v3.0
30 stars 18 forks source link

Refactor views.py #233

Closed troeger closed 6 years ago

troeger commented 6 years ago

views.py became long and cluttered, so it should be refactored. Class-based views seem to solve some common issues, such as the denial of wrong HTTP methods. The refactoring should also visibly separate frontend and backend view code.

troeger commented 6 years ago

See CBV merge.