Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/v/o/vosae-app-HEAD/www/notification/api/resources/notification_resource.py   vosae-app(Download)
    def prepend_urls(self):
        """Add urls for resources actions."""
        urls = super(NotificationBaseResource, self).prepend_urls()
        urls.extend((
            url(r'^(?P<resource_name>%s)/(?P<pk>\w[\w/-]*)/mark_as_read%s$' % (self._meta.resource_name, trailing_slash()), self.wrap_view('mark_as_read'), name='api_notification_mark_as_read'),