django-revisionfield 0.2.2

An model field that auto increments every time the model is saved
django-revisionfield is a model field that auto increments every time the model is saved.

Usage

Import the field and use it on a model:

from django.db import models
from django_revisionfield import RevisionField

class Something(models.Model):
 name = models.CharField(max_length=200)
 revision = RevisionField()


Every time the model is saved, its revision will be updated. The current implementation uses a global revision, thus values may jump unexpectedly (due to other models being saved).

last updated on:
November 26th, 2011, 0:04 GMT
price:
FREE!
developed by:
Bradley Ayers
homepage:
github.com
license type:
BSD License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT