mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-05 06:08:46 -05:00
fixed system view
This commit is contained in:
@@ -347,6 +347,7 @@ def system(request):
|
|||||||
migration_info[key]['total'] = len(migration_info[key]['unapplied_migrations']) + len(migration_info[key]['applied_migrations'])
|
migration_info[key]['total'] = len(migration_info[key]['unapplied_migrations']) + len(migration_info[key]['applied_migrations'])
|
||||||
|
|
||||||
# API endpoint logging
|
# API endpoint logging
|
||||||
|
if settings.REDIS_HOST:
|
||||||
r = redis.StrictRedis(
|
r = redis.StrictRedis(
|
||||||
host=settings.REDIS_HOST,
|
host=settings.REDIS_HOST,
|
||||||
port=settings.REDIS_PORT,
|
port=settings.REDIS_PORT,
|
||||||
|
|||||||
Reference in New Issue
Block a user