remove unused imports, vairables and commented code

from views, and base cookbook and recipes modules
This commit is contained in:
smilerz
2023-09-13 13:31:53 -05:00
parent 1f0cd58d7d
commit 538fb8b42e
15 changed files with 41 additions and 151 deletions

View File

@@ -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()