Maybe raise a warning instead of an Exception? Raising and exception will cause a server error in a django app. Another idea is to make configurable if raise and exception or log a warning.