django-revisionfield 0.2.2

An model field that auto increments every time the model is saved
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Bradley Ayers
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
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

requirements

#model field #revision field #Django #model #revision #field

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update

Add your review!

SUBMIT