From: George Vilches <g...@thataddress.com>
Date: Tue, 14 Aug 2007 12:05:57 -0400
Local: Tues, Aug 14 2007 12:05 pm
Subject: Re: Changing the options in manage.py, adding more signals
Marty Alchin wrote: That page was a great start, that's where I started to figure most of it > This sounds like a far more complicated example than I had considered > when I was doing my work with dynamic models[1], but I did have > success getting syncdb to install dynamic models, provided a few > things are in order. I probably didn't document them well enough on > the wiki, but I could do so if this is a real need you have. > I also can't speak for how well your audit example would work on the > Keep in mind that I have no opinion on the real meat of this thread, > -Gul out when I started down this path a while back. And what I described is a fully working app, but I've not exposed it because I'm not so sure that it really fits into the spirit of Django, even on the contrib side. :) That having been said, it's something we very much needed for our current app, and the current branch in the Django trunk for doing history just doesn't have the performance for large DBs, especially with large change counts (one table in columnar key/value fashion just won't cut it, especially for reporting purposes). We had to have row-based to do reporting on millions of historical entries at any speed. (And it's also much faster for re-constructing history at the DB level, we can recreate any table at any point in time with a roll-forward type approach from the audit tables, columnar requires a lot more processing to do the same). As far as how well it works, it's great across the board. :) We have class SomeModel(models.Model): class Audit: That's it. I think it's nifty. :) Calling save() or delete() on the So, the problem itself is actually solved for the runtime portion of the Thoughts? Thanks, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||