django-modeladmin-reorder
django-modeladmin-reorder copied to clipboard
Raise NameError if model specified in ADMIN_REORDER can't be found
Makes it easier to catch configuration mistakes that otherwise just tend to get overseen.
Coverage decreased (-0.009%) to 0.962% when pulling 792f2a40c5b53f72bc18370e19129ff4f3cb3b68 on pief:master into 6e3ea395fa27223e7b431267e879d6ad5ad55426 on mishbahr:master.
IMHO a great idea!
But you can also raise an error, of 'app' is not found, too.
Not sure I understand?
Ah, i see. Wrong app name seems to raise an error, already.
" Wrong app name seems to raise an error, already.", I'm not seeing this. I agree with original author with this PR, adding this PR will definitely help identify problem. I had a typo in my app name and took me a while to figure out why the app/models won't show up on admin list.