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