-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Currently you might end up not being able to access the admin etc in case the template is missing.
I think it might be better to log the exception (logger.exception), and then just render nothing instead.
The case at hand is that the DDT is being enabled based on a user's group, and when the app was missing in INSTALLED_APPS (due to wrong settings), it caused the template to not being collected with collectstatic.
With the exception being thrown, it would not be possible to remove the user from the group again (without using the shell or fixing the settings in the code).