Parent Directory | Revision Log | Patch revision 314437 by rasmus, Sun Aug 7 15:38:36 2011 UTC revision 314438 by rasmus, Sun Aug 7 16:10:34 2011 UTC
Using Django’s class based views¶ Tags: django, plone Django’s class based views are a welcome departure from the old-style views that were just a function. An example is best. I’ll show the same view as a function and as a class. From the views.py: from django.shortcuts import render_to_response from django.template import RequestContext from django.views.generic.base import TemplateView def _exp
One of the things that surprised me when I started using Visual Studio, coming from a Linux programming background, was the amount of files it generates when you create and compile a project. One of these files is usually named project.pdb and contains the debug information for the final executable, along with information for incremental linking (Microsoft calls it the “program database“, hence th
Answering to another Stack Overflow question (this one) I stumbled upon an interesting sub-problem. What is the fastest way to sort an array of 6 integers? As the question is very low level: we can't assume libraries are available (and the call itself has its cost), only plain C to avoid emptying instruction pipeline (that has a very high cost) we should probably minimize branches, jumps, and ever
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く