Mobile version of this pageEntering multilanguage data in Zope
Next:
Solar power in the north African desert
Related blogs
EditArea vs. CodePressDateIndex in Zope doesn't have indexed attributes
Related by category
MUnderscorePatch - tired of typing manage_main?
zope management interface, zmi, monkey patch, manage_main, m_
29th of November 2006
I often use the Zope management interface but not to do much ZMI like stuff. Just simple things like creating new base objects, changing properties or testing a change to a template. For some reason I seem to lack the ability to spell the word manage_main. I can't remember how many times I've accidently typed manage-main , mange_main, manag_main, manage)_main etc.
There's got to be an end to that! Hence the MUnderscorePatch monkey patch.
Now, all I have to do is to type in m_ at the end of the URL and it becomes the same as manage_main. Ie. I go to http://localhost:8080/ then I append m_ so that it becomes http://localhost:8080/m_ and it redirects automatically to http://localhost:8080/manage_main
Silly but actually quite useful for me. Want to download it too?







Save this page in del.icio.us