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 views.py, for example,
> 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.
Repoze-dev mailing list