Bug Description
when Ppassing invalid/unsupported country code returns
500 Internal Server Error instead of proper error codes.Hence it is bug.
Steps to Reproduce
GET /country/subdivisions?code=IR → should be 501, gets 500
-not_implemented_501() is missing in models/responses.py
Proposed Fix
- Add not_implemented_501() in responses.py