首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Django的插件式应用为模型创建历史记录表

Django的插件式应用为模型创建历史记录表

资 源 简 介

This app allow you keep a history (aka copies of previous records in the database) for Django Models. You should be able to plug this into your project, register models on which you want history to be kept and the rest should just work(tm). Currently this is a proof of concept. Which proofs we can automatically creating normally behaving extra Django models in-place besides your existing models. Therefor we don"t need to pickle objects, and we can use every bit of the mighty queryset power directly on it. Pro"s: No pickling!! therefor; the history will not break completely when you modify your models, there"s no magic trickery behind the scenes to recreate objects, FAST changesets/diff and other operations should be as fast as normal database access and no endian madness when migrating platforms. Con"s: Double the trouble of schema changes. You"ll need to apply the same changes you make to your normal tables in the database, to your history tables as
VIP VIP
0.179722s