equal
deleted
inserted
replaced
1 from __future__ import absolute_import |
1 from __future__ import absolute_import |
2 |
2 |
3 |
3 |
4 from pyramid.httpexceptions import HTTPNotFound |
|
5 from pyramid.view import view_config |
4 from pyramid.view import view_config |
6 from cubicweb.pyramid.resources import EntityResource, ETypeResource |
5 from cubicweb.pyramid.resources import EntityResource, ETypeResource |
7 from cubicweb.pyramid.predicates import MatchIsETypePredicate |
|
8 |
6 |
9 |
7 |
10 @view_config( |
8 @view_config( |
11 route_name='cwentities', |
9 route_name='cwentities', |
12 context=EntityResource, |
10 context=EntityResource, |