mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-17 11:49:29 +00:00
Add a fabric call to update the permissions
This commit is contained in:
5
fabfile.py
vendored
5
fabfile.py
vendored
@@ -221,3 +221,8 @@ def clear_logs():
|
|||||||
def deploy_static():
|
def deploy_static():
|
||||||
with cd('%(path)s/dreddit-auth/' % env):
|
with cd('%(path)s/dreddit-auth/' % env):
|
||||||
run('./app/manage.py collectstatic --settings=%(config)s -v0 --noinput' % 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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user