From 8a7601552fd4473d979af39abfc94ec6c008ee79 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Fri, 3 Jun 2011 00:51:28 +0100 Subject: [PATCH] Add a fabric call to update the permissions --- fabfile.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fabfile.py b/fabfile.py index 4986fb3..eb990d6 100644 --- a/fabfile.py +++ b/fabfile.py @@ -221,3 +221,8 @@ def clear_logs(): def deploy_static(): with cd('%(path)s/dreddit-auth/' % env): run('./app/manage.py collectstatic --settings=%(config)s -v0 --noinput' % env) + +def update_permissions(): + with cd('%(path)s/dreddit-auth/' % env): + run('./app/manage.py updatepermissions --settings=%(config)s' % env) +