Created a custom manager for BookModuleExercise table. Added code to delete exercises removed from the book. Added required_login decorator in developper view.