I spent a bit of time this evening putting together a template filter for Django that allows really trivial syntax coloring from within the templates themselves. You can access any of the Pygments lexers, or can attempt to have Pygments detect the appropriate lexer on its own. Here is a quick example: {% load syntax_color %} <p> Specifying the lexer for the snippet. </p> { { my_code_snippet|colori
This article is not particularly polished, and expects some general Django knowledge. It does not require any JQuery experience. Using Django with JQuery for Ajax is pretty easy, but figuring out how to do do a autocomplete form can be a bit more complex. So, here is a walkthrough. I am using Frank Vega's autocomplete library. It is a bit simple, but entirely usable. Grab the javascript, and the c
Hey folks, I’m Will Larson! If you’re new to my writing, take a look at some of the popular stuff I’ve written, or my books: Staff Engineer, An Elegant Puzzle, and The Engineering Executive’s Primer. You can hear from me a bit more frequently on my my weekly newsletter or via the RSS feed. You can also find me as @lethain on Twitter or Mastodon. No Wrong Doors. May 22, 2024 Making engineering stra
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く