Introduction
get the ModelVCS
You can only get ModelVCS via SVN. A easy way to include it into your Project, use the SVN:external function!
add the app and middleware
settings.py
...
MIDDLEWARE_CLASSES = (
...
"modelvcs.middleware.threadlocals.ThreadLocals",
...
)
...
INSTALLED_APPS = (
...
"modelvcs",
...
)
...
register your models
models.py
``` from modelvcs.signal_handler import register
register(MyModel1, MyModel2, ... ) ```
finish
That's all! Every registered model are recognized by model VCS.