commit | author | age
|
c1eb0c
|
1 |
def includeme(config): |
CM |
2 |
config.add_view('.views.fixture_view') |
|
3 |
config.add_view('.views.exception_view', context=RuntimeError) |
|
4 |
config.add_view('.views.protected_view', name='protected.html') |
|
5 |
config.add_view('.views.erroneous_view', name='error.html') |
|
6 |
config.add_view('.views.fixture_view', name='dummyskin.html', |
|
7 |
request_type='.views.IDummy') |
6df90b
|
8 |
from .models import fixture, IFixture |
c1eb0c
|
9 |
config.registry.registerUtility(fixture, IFixture) |
CM |
10 |
config.add_view('.views.fixture_view', name='another.html') |
|
11 |
|
|
12 |
|