Re: Saving a copy of a model

2007-08-12 Thread Collin Grady
Model subclassing does not work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email

Re: Saving a copy of a model

2007-08-10 Thread r_f_d
I also forgot to mention two things, the model documentation states that each model subclasses django.db.models.Model, and I believe it will not work to subclass a model. I believe I tried this when I first started with Django last year and it would not work. Secondly, based on your coment that

Re: Saving a copy of a model

2007-08-10 Thread r_f_d
I am not sure I understand, I think you want to archive a model instance? or put another way, when the model is no longer active or useful to the user, you would essentially like to treat that database record differently than other records. In that case, you could simply change the archived

Saving a copy of a model

2007-08-10 Thread Carlos Hanson
Greetings, I have a model which I would like to archive. My thought was to extend that model with one additional DateTimeField called archived. But I am having difficulty saving an instance of the archived object based on an existing object. class Assessment(models.Model): student =