mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 05:11:31 -05:00
remove unused imports, vairables and commented code
from views, and base cookbook and recipes modules
This commit is contained in:
@@ -52,7 +52,7 @@ for p in settings.PLUGINS:
|
||||
if settings.DEBUG:
|
||||
print(e.msg)
|
||||
print(f'ERROR failed loading plugin <{p["name"]}> urls, did you forget creating urls.py in your plugin?')
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
if settings.DEBUG:
|
||||
print(f'ERROR failed loading urls for plugin <{p["name"]}>')
|
||||
traceback.format_exc()
|
||||
|
||||
Reference in New Issue
Block a user