Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Whitenoise should not write to python dir
Browse files Browse the repository at this point in the history
When running the whitenoise command it was writing to the python path
which it should not be able to do.

https://pulp.plan.io/issues/4180
closes #4180
  • Loading branch information
Brian Bouterse committed Jan 21, 2019
1 parent 2debcbf commit d0af336
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pulpcore/app/settings.py
Expand Up @@ -16,7 +16,8 @@

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_ROOT = '/var/lib/pulp/static/'

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/

Expand Down

0 comments on commit d0af336

Please sign in to comment.