djangosnippets.org: Latest snippets tagged with 'textmate'http://djangosnippets.org/tags/textmate/2012-02-21T07:49:42.004315-06:00"Open file in Textmate"-support in werkzeug debugger browser view
2012-02-21T07:49:42.004315-06:00grandfathahttp://djangosnippets.org/snippets/2689/<p>1) Install django-extensions (requires werkzeug)
2) Paste snippet into settings.py
3) manage.py runserver_plus</p>
<p>Now you should be able to open files in textmate by clicking the file links in the werkzeug error pages. It will also take you to the correct line number and highlight files that are in your …</p>
Freely redistributableDebugMiddleware footer with links to quick open file/line# in TextMate on local machine
2010-01-18T09:59:33.856459-06:00felix_the_thirdhttp://djangosnippets.org/snippets/1872/<p>Adds a hidden footer to the bottom of every text/html page containing a list of SQL queries executed, the view function that was used and all templates that were loaded.</p>
<p>Each template path is a clickable URL of the type txmt://open/?url=file://FILENAME&amp;line=LINENO as is the view function.</p>
<p>This lets you open …</p>
Freely redistributableEmail obfuscation filter using ROT13
2009-04-28T19:56:57.492810-05:00worksologyhttp://djangosnippets.org/snippets/1475/<p>An email address obfuscation template filter based on the ROT13 Encryption function in Textmate's HTML bundle.</p>
<p>The filter should be applied to a string representing an email address. You can optionally pass the filter an argument that will be used as the email link text (otherwise it will simply use …</p>
Freely redistributableDebugFooter middleware with textmate links
2008-09-07T12:49:06.247217-05:00crucialfelixhttp://djangosnippets.org/snippets/1033/<p>a minor remix of simon's debug footer:
<a href="http://www.djangosnippets.org/snippets/766/">http://www.djangosnippets.org/snippets/766/</a></p>
<blockquote>
<p>Adds a hidden footer to the bottom of every text/html page containing a list of SQL queries executed and templates that were loaded (including their full filesystem path to help debug complex template loading scenarios).</p>
</blockquote>
<p>This version adds TextMate links : if …</p>
Freely redistributable