Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29318010: Issue 2683 - Use Rietveld "adblockplus" branch with custom settings.py (Closed)

Created:
June 22, 2015, 11:03 a.m. by mathias
Modified:
June 29, 2015, 11 a.m.
CC:
Fred
Visibility:
Public.

Description

Issue 2683 - Use Rietveld "adblockplus" branch with custom settings.py

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M modules/rietveld/manifests/init.pp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7
mathias
June 22, 2015, 11:04 a.m. (2015-06-22 11:04:00 UTC) #1
Wladimir Palant
Creating a Rietveld branch shouldn't be necessary. GAE sandboxes allow overriding specific module properties. Required ...
June 23, 2015, 12:44 p.m. (2015-06-23 12:44:43 UTC) #2
Wladimir Palant
Sorry, much simpler than that, no need to mess with Django: from google.appengine.tools.devappserver2.python.sandbox import _MODULE_OVERRIDE_POLICIES ...
June 23, 2015, 1:18 p.m. (2015-06-23 13:18:02 UTC) #3
Wladimir Palant
Or even with the built-in policy: from google.appengine.tools.devappserver2.python.sandbox import _MODULE_OVERRIDE_POLICIES, ModuleOverridePolicy _MODULE_OVERRIDE_POLICIES['settings'] = ModuleOverridePolicy( overrides={'UPLOAD_PY_SOURCE': ...
June 23, 2015, 1:25 p.m. (2015-06-23 13:25:48 UTC) #4
mathias
On 2015/06/23 13:25:48, Wladimir Palant wrote: > Or even with the built-in policy: > > ...
June 29, 2015, 7:27 a.m. (2015-06-29 07:27:42 UTC) #5
Wladimir Palant
On 2015/06/29 07:27:42, mathias wrote: > In theory the `wrapper.py` stuff can > become independent ...
June 29, 2015, 10:28 a.m. (2015-06-29 10:28:03 UTC) #6
mathias
June 29, 2015, 11 a.m. (2015-06-29 11:00:19 UTC) #7
Very well. I'll close this review in favor of a new one for the discussed
changes.

Powered by Google App Engine
This is Rietveld