django-auditlog/auditlog
Samuel Gonçalves 6c70783174 enable use of replica database
When you use replica database the django-auditlog try to write in the same database where object was read (replica). But this is a read only database and crash the application.

This changes saves always in the default database.

If you want to save in multiple databases or in a special one use `DATABASE_ROUTERS` to configure it.
2022-02-22 18:44:23 -03:00
..
management Add black and format files with black. 2020-12-06 23:10:18 +01:00
migrations Remove extra imports. 2022-01-10 10:18:20 +01:00
__init__.py Add isort and sort orders with isort. 2020-12-06 23:10:18 +01:00
admin.py Add actor username to search fields 2022-01-06 16:53:51 +01:00
apps.py Fix black error. 2022-01-12 10:10:52 +01:00
diff.py Update syntax to Python 3.7+ 2022-01-10 10:18:20 +01:00
filters.py Add black and format files with black. 2020-12-06 23:10:18 +01:00
middleware.py Add black and format files with black. 2020-12-06 23:10:18 +01:00
mixins.py Update syntax to Python 3.7+ 2022-01-10 10:18:20 +01:00
models.py enable use of replica database 2022-02-22 18:44:23 -03:00
receivers.py Support Django's save method update_fields kwarg (#336) 2022-01-07 14:23:37 +01:00
registry.py Update syntax to Python 3.7+ 2022-01-10 10:18:20 +01:00