add and remove instance keeping the log
Hi
Imagine something like:
def Model_A(models.Model):
number = models.IntegerField()
date = models.DateField()
Add an instance of the Model_A
Delete an instance of the Model_A
Add other instance of the Model_A
Delete other instance of the Model_A
Then when I do a query on database I whould like to retrive the log of all operations on Model_A and the sum of Model_A.objects.count()
What should I put in the view?
Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home