Commits

Konstantin Mochalov  committed 39de5d4

Set static root

  • Participants
  • Parent commits 94a6199
  • Branches openshift

Comments (0)

Files changed (1)

File test_tasks/settings.py

 # Don't put anything in this directory yourself; store your static files
 # in apps' "static/" subdirectories and in STATICFILES_DIRS.
 # Example: "/var/www/example.com/static/"
-STATIC_ROOT = ''
+STATIC_ROOT = os.environ['OPENSHIFT_REPO_DIR'] + 'wsgi/static'
 
 # URL prefix for static files.
 # Example: "http://example.com/static/", "http://static.example.com/"