summaryrefslogtreecommitdiffstats
path: root/scripts/daily_cleanup.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/daily_cleanup.py')
-rwxr-xr-x[-rw-r--r--]scripts/daily_cleanup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/daily_cleanup.py b/scripts/daily_cleanup.py
index 98f997b..fcc5bce 100644..100755
--- a/scripts/daily_cleanup.py
+++ b/scripts/daily_cleanup.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
from django.db import backend, connection, transaction
""" Daily cleanup file
This purges the session data that is old from the session table.