##// END OF EJS Templates
requirements: bump to pyramid 1.10.x
ergo -
Show More
@@ -1,5 +1,5 b''
1 repoze.sendmail==4.1
1 repoze.sendmail==4.1
2 pyramid==1.7.3
2 pyramid==1.10.2
3 pyramid_tm==0.12
3 pyramid_tm==0.12
4 pyramid_debugtoolbar
4 pyramid_debugtoolbar
5 pyramid_authstack==1.0.1
5 pyramid_authstack==1.0.1
@@ -126,15 +126,15 b' def main(global_config, **settings):'
126
126
127 # json rederer that serializes datetime
127 # json rederer that serializes datetime
128 config.add_renderer('json', json_renderer)
128 config.add_renderer('json', json_renderer)
129 config.set_request_property('appenlight.lib.request.es_conn', 'es_conn')
129 config.add_request_method('appenlight.lib.request.es_conn', 'es_conn', property=True)
130 config.set_request_property('appenlight.lib.request.get_user', 'user',
130 config.add_request_method('appenlight.lib.request.get_user', 'user',
131 reify=True)
131 reify=True, property=True)
132 config.set_request_property('appenlight.lib.request.get_csrf_token',
132 config.add_request_method('appenlight.lib.request.get_csrf_token',
133 'csrf_token', reify=True)
133 'csrf_token', reify=True, property=True)
134 config.set_request_property('appenlight.lib.request.safe_json_body',
134 config.add_request_method('appenlight.lib.request.safe_json_body',
135 'safe_json_body', reify=True)
135 'safe_json_body', reify=True, property=True)
136 config.set_request_property('appenlight.lib.request.unsafe_json_body',
136 config.add_request_method('appenlight.lib.request.unsafe_json_body',
137 'unsafe_json_body', reify=True)
137 'unsafe_json_body', reify=True, property=True)
138 config.add_request_method('appenlight.lib.request.add_flash_to_headers',
138 config.add_request_method('appenlight.lib.request.add_flash_to_headers',
139 'add_flash_to_headers')
139 'add_flash_to_headers')
140 config.add_request_method('appenlight.lib.request.get_authomatic',
140 config.add_request_method('appenlight.lib.request.get_authomatic',
General Comments 0
You need to be logged in to leave comments. Login now