commit | author | age | ||
c5d172 | 1 | from pyramid.view import view_config |
CM | 2 | |
3 | @view_config(renderer='string') | |
4 | def abc(request): | |
5 | return 'root' | |
6 | ||
7 | def main(): | |
8 | from pyramid.config import Configurator | |
9 | c = Configurator() | |
10 | c.scan() | |
11 | return c |