Commit 07f38db5 authored by Thomas Capricelli's avatar Thomas Capricelli
Browse files

make django 3.2 happy

parent 2b2a924b0d93
......@@ -115,6 +115,8 @@ USE_I18N = True
USE_L10N = True
USE_TZ = True
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/dev/howto/static-files/
......
......@@ -46,6 +46,7 @@ def restart_gunicorn(c):
@task(hosts=hosts)
def restart_daemons(c):
"Restart blocker & watcher daemons"
print("Restarting daemons on %s" % c.host)
c.run("supervisorctl restart botfreak-blocker-ipset", pty=False )
c.run("supervisorctl restart botfreak-watcher", pty=False )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment