2007-09-12から1日間の記事一覧
アップされたのでITpro Challenge!のメモとかの関連リンクに追記。全力で読み返し中。
django/db/models/base.pyで、 21 class ModelBase(type): 22 "Metaclass for all models" 23 def __new__(cls, name, bases, attrs): 24 # If this isn't a subclass of Model, don't do anything special. Metaclassって何だよ!!って思って悩んでたら http…