cubicweb/pyramid/rest_api.py
branch3.24
changeset 11811 f09efeead7f9
parent 11631 faf279e33298
child 11959 ddc05ce75319
equal deleted inserted replaced
11810:2e03bb4372b2 11811:f09efeead7f9
     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,