History tracking for models

2009-05-13 Thread kailash

Hi,
Just want to know is there any way of tracking the history in the
database of a model.
Like..every time i update a row using model.save() , the data that
previously existed gets recorded into any table???
If there's any such functionality please let me know..because the
module i've developed for this scenario is not fool-proof...

Thanks
Kailash.K

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: History tracking for models

2009-05-13 Thread Russell Keith-Magee

On Wed, May 13, 2009 at 3:36 PM, kailash  wrote:
>
> Hi,
>    Just want to know is there any way of tracking the history in the
> database of a model.
> Like..every time i update a row using model.save() , the data that
> previously existed gets recorded into any table???
> If there's any such functionality please let me know..because the
> module i've developed for this scenario is not fool-proof...

Django-developers is a list for discussing the development of Django
itself. General usage questions should be asked on django-users.

Yours,
Russ Magee %-)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: History tracking for models

2009-05-13 Thread Luke Plant

On Wednesday 13 May 2009 08:36:33 kailash wrote:
> Hi,
> Just want to know is there any way of tracking the history in
> the database of a model.
> Like..every time i update a row using model.save() , the data that
> previously existed gets recorded into any table???
> If there's any such functionality please let me know..because
> the module i've developed for this scenario is not
> fool-proof...

I think django-reversion may do what you want:

http://code.google.com/p/django-reversion/

But this isn't really the place for these questions, you should be 
asking on the django-users list.

Luke

-- 
LORENZ'S LAW OF MECHANICAL REPAIR:
After your hands become coated with grease, your nose will begin to 
itch.

Luke Plant || http://lukeplant.me.uk/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: History tracking for models

2009-05-13 Thread Justin Lilly

Take this question to django-users please. Also, check out marty  
alchin's pro django foe this snippet.

-justin



On May 13, 2009, at 3:36 AM, kailash  wrote:

>
> Hi,
>Just want to know is there any way of tracking the history in the
> database of a model.
> Like..every time i update a row using model.save() , the data that
> previously existed gets recorded into any table???
> If there's any such functionality please let me know..because the
> module i've developed for this scenario is not fool-proof...
>
> Thanks
> Kailash.K
>
> >

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: History tracking for models

2009-05-13 Thread kailash

Sorry guys new to this place.:).thanks for da pointers

On May 13, 12:49 pm, Justin Lilly  wrote:
> Take this question to django-users please. Also, check out marty
> alchin's pro django foe this snippet.
>
> -justin
>
> On May 13, 2009, at 3:36 AM, kailash  wrote:
>
>
>
> > Hi,
> >Just want to know is there any way of tracking the history in the
> > database of a model.
> > Like..every time i update a row using model.save() , the data that
> > previously existed gets recorded into any table???
> > If there's any such functionality please let me know..because the
> > module i've developed for this scenario is not fool-proof...
>
> > Thanks
> > Kailash.K
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---