Tuesday, July 28, 2020

Re: How to track changes changes, deletions and creations of records on django site

Also Check out this https://github.com/etianen/django-reversion/


On Monday, July 27, 2020 at 5:30:12 PM UTC+2, Hector Berrones wrote:
Hi, Thanks for reading me, does anyone can advice to me about how can have record of changes, deletions and creations on a django app,
I was trying creating a field in the model to save the Current authenticated user but I have't been able to get the user ID and I would't like to make that field the ForeighKey because I am fraid that if that user is deleted i would lose all the child records.. hope somebody can give me  advice on this, Thanks in advance.
--
Hector Berrones.
(956) 775 5951

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/738dc80a-7585-43b7-bff4-f026047e658ao%40googlegroups.com.

No comments:

Post a Comment