Awesome q2a theme

How would You loginovo every change of model fields and its m2m?

0 like 0 dislike
33 views
Short example:
class MyMolde(models.Model): text = models.Text(field) user = models.ForeignKey(....User) services = models.ManyToMany

That is to log all changes and ligament models. Then the user could see what the value of this field was changed from this to this.

Django Version 2.0
by | 33 views

2 Answers

0 like 0 dislike
Simply connect to the project django-reversion all history create/change/delete models with the ability to roll back to any version and restore to remote.
by
0 like 0 dislike
Base what? If MySQL - triggers in a separate table.
If PostgreSQL is rulesmy in a separate table.
by

Related questions

0 like 0 dislike
1 answer
asked May 20, 2019 by bickford
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,187 answers
0 comments
40,796 users