Home
last modified time | relevance | path

Searched refs:matchdict (Results 1 – 25 of 75) sorted by relevance

123

/dports/www/py-pyramid/pyramid-1.7.3/pyramid/tests/test_scripts/
H A Ddummy.py49 matchdict=None, predicate=None): argument
54 self.matchdict = matchdict
60 return self.matchdict
67 self.matchdict = {}
H A Dtest_pviews.py126 routes = [dummy.DummyRoute('a', '/a', factory=Factory, matchdict={}),
157 routes = [dummy.DummyRoute('a', '/a', matchdict={}),
158 dummy.DummyRoute('b', '/a', matchdict={})]
196 routes = [dummy.DummyRoute('a', '/a', matchdict={}),
197 dummy.DummyRoute('b', '/a', matchdict={})]
210 routes = [dummy.DummyRoute('a', '/a', factory=factory, matchdict={}),
211 dummy.DummyRoute('b', '/a', factory=factory, matchdict={})]
222 dummy.DummyRoute('b', '/a', factory=factory, matchdict={})]
345 route = dummy.DummyRoute('a', '/a', matchdict={})
396 route = dummy.DummyRoute('a', '/a', matchdict={}, predicate=predicate)
/dports/www/py-pyramid_rpc/pyramid_rpc-0.8/pyramid_rpc/
H A Dmapper.py70 if request.matchdict:
71 keywords.update(request.matchdict)
91 if request.matchdict:
92 keywords.update(request.matchdict)
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tutorial/routing/tutorial/
H A Dviews.py14 first = self.request.matchdict['first']
15 last = self.request.matchdict['last']
H A Dtests.py17 request.matchdict['first'] = 'First'
18 request.matchdict['last'] = 'Last'
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tutorial/more_view_classes/tutorial/
H A Dviews.py15 first = self.request.matchdict['first']
16 last = self.request.matchdict['last']
/dports/www/py-pyramid/pyramid-1.7.3/docs/tutorials/wiki2/src/authentication/tutorial/views/
H A Ddefault.py25 pagename = request.matchdict['pagename']
47 pagename = request.matchdict['pagename']
67 pagename = request.matchdict['pagename']
/dports/www/py-pyramid/pyramid-1.7.3/docs/tutorials/wiki2/src/views/tutorial/views/
H A Ddefault.py24 pagename = request.matchdict['pagename']
46 pagename = request.matchdict['pagename']
60 pagename = request.matchdict['pagename']
/dports/www/py-pyramid/pyramid-1.7.3/pyramid/
H A Dtraversal.py634 matchdict = request.matchdict
636 if matchdict is not None:
638 path = matchdict.get('traverse', slash) or slash
645 subpath = matchdict.get('subpath', ())
/dports/www/py-pyramid/pyramid-1.7.3/pyramid/tests/
H A Dtest_traversal.py367 request.matchdict = None
374 request.matchdict = {}
387 matchdict = {'subpath':'/a/b/c'}
389 request.matchdict = matchdict
404 request.matchdict = matchdict
419 request.matchdict = matchdict
434 request.matchdict = matchdict
447 matchdict = {'traverse':''}
449 request.matchdict = matchdict
466 request.matchdict = matchdict
[all …]
/dports/www/py-pyramid/pyramid-1.7.3/docs/tutorials/wiki2/src/tests/tutorial/
H A Droutes.py24 pagename = request.matchdict['pagename']
41 pagename = request.matchdict['pagename']
/dports/www/py-pyramid/pyramid-1.7.3/docs/tutorials/wiki2/src/authorization/tutorial/
H A Droutes.py24 pagename = request.matchdict['pagename']
41 pagename = request.matchdict['pagename']
/dports/audio/beets/beets-1.4.9/beetsplug/
H A Dfromfilename.py54 def equal_fields(matchdict, field): argument
59 return equal(m[field] for m in matchdict.values())
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tutorial/retail_forms/tutorial/
H A Dviews.py67 uid = self.request.matchdict['uid']
74 uid = self.request.matchdict['uid']
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tutorial/forms/tutorial/
H A Dviews.py67 uid = self.request.matchdict['uid']
74 uid = self.request.matchdict['uid']
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tutorial/databases/tutorial/
H A Dviews.py66 uid = int(self.request.matchdict['uid'])
74 uid = int(self.request.matchdict['uid'])
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tutorial/
H A Drouting.rst110 self.request.matchdict['first']
111 self.request.matchdict['last']
113 ``request.matchdict`` contains values from the URL that match the "replacement
/dports/devel/git-cola/git-cola-3.10.1/cola/
H A Dutils.py90 matchdict = {}
104 matchdict[item] = items[item]
109 result = matchdict
/dports/www/py-webargs/webargs-8.0.1/src/webargs/
H A Dpyramidparser.py53 matchdict="load_matchdict",
91 return self._makeproxy(req.matchdict, schema)
/dports/www/py-pyramid/pyramid-1.7.3/docs/narr/
H A Durldispatch.rst142 :term:`matchdict` value."
312 the matchdict is turned into a tuple of path segments representing the
326 Will generate the following matchdict:
438 single: matchdict
449 a matchdict will be strings. The values will be Unicode objects.
528 return Response(request.matchdict['id'])
560 return Response(request.matchdict['idea'])
564 user = request.matchdict['user']
569 tag = request.matchdict['tag']
1299 matchdict = request.matchdict
[all …]
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tour/static_assets/
H A Dviews.py6 return dict(name=request.matchdict['name'])
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tour/templating/
H A Dviews.py6 return dict(name=request.matchdict['name'])
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tour/jinja2/
H A Dviews.py6 return dict(name=request.matchdict['name'])
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tour/routing/
H A Dviews.py7 body = '<h1>Hi %(first)s %(last)s!</h1>' % request.matchdict
/dports/www/py-pyramid/pyramid-1.7.3/docs/quick_tour/json/
H A Dviews.py6 return dict(name=request.matchdict['name'])

123