John R. Tipton
cc2e489f75
- Check for model using isinstance
...
- Check for model using isinstance and pk using _get_pk_value
2015-02-19 09:03:39 -05:00
John R. Tipton
16a55e1924
- Compatibility with django-polymorphic
...
Check for _meta attribute instead of __class__, since an integer has an
__class__ attribute.
2015-02-13 09:23:23 -05:00
John R. Tipton
dc9d6739fe
- Compatibility with django-polymorphic
...
django-polymorphic self._get_pk_value returns the class object. If
this happens, we try adding _id to the pk_field.
2015-02-12 15:54:59 -05:00
Vittorio Zamboni
4ae09eb8b4
Changed registry from list to dictionary and use register kwargs to track fields that must be changed or excluded
2014-10-03 15:13:03 +02:00
Jan-Jelle Kester
d778bb3a9e
Add South compatibility for AuditlogHistoryField
...
Untested, suggested solution per issue #7
2014-07-08 15:57:45 +02:00
Jan-Jelle Kester
41d3948606
Progress with tests
2014-03-14 17:15:31 +01:00
Jan-Jelle Kester
a2f4c98fa1
Add some documentation
2013-12-18 17:27:11 +01:00
Jan-Jelle Kester
2bcc022fdf
Fix utility methods with dynamic primary key discovery, also some style fixes
2013-12-18 17:24:41 +01:00
Jan-Jelle Kester
1bde6de50a
Extra utility methods on LogEntryManager with correct terminology, small style fix
2013-12-18 17:17:38 +01:00
Jan-Jelle Kester
f5aed059bf
Add changes_dict and changes_str utility methods to LogEntry model
2013-12-11 17:14:07 +01:00
Jan-Jelle Kester
8c541fe416
Remove html_formated_string method on LogEntry model
...
The method name was incorrectly spelled and the method was not flexible enough. This functionality will be replaced by a more flexible method and/or a template tag.
2013-12-11 16:58:32 +01:00
Jan-Jelle Kester
ec051d11f0
Merge remote-tracking branch 'origin/master'
...
Conflicts:
src/auditlog/middleware.py
2013-12-11 16:55:05 +01:00
Francisco Pérez Ferrer
19291f54d9
some util functions
2013-11-27 23:04:49 -05:00
Jan-Jelle Kester
bd61008bd7
Rename 'AuditLog' to 'Auditlog' in class names
2013-11-07 17:02:31 +01:00
Jan-Jelle Kester
1b2503d371
Extend inline documentation
2013-11-06 20:48:16 +01:00
Jan-Jelle Kester
18148f62c1
Add some more inline documentation
2013-10-23 17:23:52 +02:00
Jan-Jelle Kester
496c91441b
Some major bugfixes
2013-10-21 22:41:11 +02:00
Jan-Jelle Kester
74c962a2a0
Only save a log entry when something changed.
2013-10-21 22:27:35 +02:00
Jan-Jelle Kester
81098cd179
Big commit: testproject, bugfixes, changed directory structure
2013-10-21 21:46:31 +02:00