george hu wrote:
> It seems a big impact if I change the segment replacement marker,
> because it is like a global variable name which is "hard referenced"
> every where, so if I change ":pagename" to ":pagename1" I need to
> change every pagename in,  for example,
> view_url=route_url("view_page",request,pagename1=word)
> ...
> page = session.query(Page).filter_by(name=matchdict['pagename1']).one()
> is there any "elegant" to deal with the renaming of the marker?

No... changing it wherever it's used is required.

- C

Repoze-dev mailing list

Reply via email to