Popular recipes tagged "urls"http://code.activestate.com/recipes/tags/urls/popular/2015-06-18T20:46:32-07:00ActiveState Code Recipesstupid trick: mimicking the python cgi library's FieldStorage() object for command line debuging (Python) 2015-06-18T20:46:32-07:00Jon Crumphttp://code.activestate.com/recipes/users/4174917/http://code.activestate.com/recipes/579069-stupid-trick-mimicking-the-python-cgi-librarys-fie/ <p style="color: grey"> Python recipe 579069 by <a href="/recipes/users/4174917/">Jon Crump</a> (<a href="/recipes/tags/cgi/">cgi</a>, <a href="/recipes/tags/debugging/">debugging</a>, <a href="/recipes/tags/urls/">urls</a>). Revision 6. </p> <p>create dictionary-like object that mimics the cgi.FieldStorage() object having both a <code>.value</code> property, and a <code>.getvalue()</code> method</p> Show all url patterns in django (Python) 2010-03-26T20:04:08-07:00Michael Grünewaldhttp://code.activestate.com/recipes/users/4172244/http://code.activestate.com/recipes/576974-show-all-url-patterns-in-django/ <p style="color: grey"> Python recipe 576974 by <a href="/recipes/users/4172244/">Michael Grünewald</a> (<a href="/recipes/tags/django/">django</a>, <a href="/recipes/tags/urls/">urls</a>). Revision 5. </p> <p>This small script shows a simple formatted tree of all defined django url patterns.</p>