Closed erikw closed 7 years ago
If you don't have grappelli installed, then there will be a KeyError. In tabbed_admin/admin.py there is
KeyError
tabbed_admin/admin.py
def media(self): css = {} if 'grappelli' in settings.INSTALLED_APPS: css['all'] = ("tabbed_admin/css/tabbed_grappelli_admin.css", ) if USE_JQUERY_UI: css['all'] = \ ("tabbed_admin/css/jquery-ui-1.11.4.min.css", "tabbed_admin/css/tabbed_admin.css", ) + css['all']
On the last line we try to fetch css['all'] which does not exist unless we entered the if-grappelli.
css['all']
If you don't have grappelli installed, then there will be a
KeyError
. Intabbed_admin/admin.py
there isOn the last line we try to fetch
css['all']
which does not exist unless we entered the if-grappelli.