Code

Changes between Version 22 and Version 23 of AuditTrail


Ignore:
Timestamp:
08/20/10 02:49:41 (4 years ago)
Author:
nitinbhide
Comment:

found a bug hence submitting possible fix. When input model for audit trail has an explicitly specified 'app_label' then AuditModel class doesnot pickup this 'app_label'. This creates problems in syncdb and installing the AuditModel

Legend:

Unmodified
Added
Removed
Modified
  • AuditTrail

    v22 v23  
    270270    class Meta: 
    271271        db_table = '%s_audit' % cls._meta.db_table 
     272        app_label = cls._meta.app_label 
    272273        verbose_name_plural = '%s audit trail' % cls._meta.verbose_name 
    273274        ordering = ['-_audit_timestamp']