Django-versions v.1.0.1
django-versions allows you to version the data stored in django models seamlessly. To get started all you need to do is to set VERSIONS_REPOSITORIES variable in your settings and configure the repositories you would like to use, then just subclass your Model from VersionsModel and start saving data:from django.db import modelsfrom versions.models import VersionsModelclass MyModel(VersionsModel): text = models.TextField()InstallationDependencies * Mercurial >= 1.5.2 * Django == 1.1.XInstalling django-versionsIf your are installing from source, you just need to run the following command from the base of the django-versions source tree:python setup.py installIf you want to install the package without checking out the source you should run:pip install django-versions# OR if you don't have pip installed (you should definitely check out pip)easy_install django-versionsFor the time being, we need to patch Django to allow us to gain access to the related model from Manager classes. There is a patch included at the root of the source tree django.patch that includes the required changes. To patch django, go to the root of your checkout of django 1.1.X and run:patch -p0 < /path/to/django-versions/django.patchAdd VERSIONS_REPOSITORIES to your settings file, pointing to the location where you would like django-versions to create and store your model history:VERSIONS_REPOSITORIES = { 'default': { 'backend': 'versions.backends.hg', 'local': '/path/to/my/projects/model/history', } }Enabling Version ManagementInstall the VersionsMiddleware:MIDDLEWARE_CLASSES = ( ... 'versions.middleware.VersionsMiddleware', ... )Or handle enabling editing of Versioned models manually:from versions.base import revision@revision.commit_on_successdef my_editing_function(request): m = MyModel.objects.get(pk=1) m.save()def my_other_editing_function(request): with revision: m = MyModel.objects.get(pk=1) m.save()#md5=f4be9b84a483e4e9d820dda53ae9ffdc
django-versions allows you to version the data ...
Review Django-versions
- git-goggles v.0.2.6git-goggles is a git management utilities that allows you to manage your source code as it evolves through its development lifecycle.
- NetSpot v.2.15.1054
NetSpot 2 is the only professional app for wireless site survey, Wi-Fi analysis and troubleshooting on Mac OS X. It's FREE and very simple, no need to be a network expert to start using NetSpot today!
- NetSpot for Windows v.2.15.790.0
NetSpot is an application for Windows 7/8/10/11 that is used for wireless analysis, troubleshooting and wireless site survey.
- LanFlow Net Diagrammer v.7.05.2175
LanFlow is a drawing tool for laying out, designing, and documenting a network, LAN, internet, or other communications system.
- Internet Cafe Software v.10.1.0.5
Antamedia Internet Cafe controls, secures, and enhances the running of your Internet cafe, gaming center, library, school or hotel public computers. The software restricts access to the system, desktop, drivers, folders and programs.
- Django-quotes v.0.3Store and display quotes on Django powered websites ...
- Django-fiber v.0.9.6.6Django Fiber - a simple, user-friendly CMS for all your Django projects.