Raise validation error if user attempts to make a course with the same course code as a course in the database, where the database IDs for the form course and the database course do not match. Closes #466
Expected behaviour:
new course with same code - validation error
edit existing course - success
edit existing course with different code to have same code - validation error
Raise validation error if user attempts to make a course with the same course code as a course in the database, where the database IDs for the form course and the database course do not match. Closes #466
Expected behaviour:
Editing existing course:
Adding new course with same ID: