Skip to content

Commit

Permalink
Merge pull request #364 from aarranz/feature/allow-environ-usage-temp…
Browse files Browse the repository at this point in the history
…lates

Allow to access environment variables from view templates
  • Loading branch information
aarranz authored Jan 14, 2019
2 parents cd4a2b3 + 39a0c83 commit ef001ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wirecloud/platform/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ def render_wirecloud(request, view_type=None, title=None, description=None):
'description': description,
'THEME': theme,
'VIEW_MODE': view_type,
'WIRECLOUD_VERSION_HASH': get_version_hash()
'WIRECLOUD_VERSION_HASH': get_version_hash(),
'environ': os.environ
}

try:
Expand Down

0 comments on commit ef001ce

Please sign in to comment.