Ticket #2809: models.diff

File models.diff, 776 bytes (added by Rockallite, 18 years ago)

[patch]fix user history in admin interface

  • django/contrib/admin/models.py

     
    1616   action_time = models.DateTimeField(_('action time'), auto_now=True)
    1717   user = models.ForeignKey(User)
    1818   content_type = models.ForeignKey(ContentType, blank=True, null=True)
    19    object_id = models.IntegerField(_('object id'), blank=True, null=True)
     19   object_id = models.IntegerField(_('object id'), blank=True, null=True)
    2020   object_repr = models.CharField(_('object repr'), maxlength=200)
    2121   action_flag = models.PositiveSmallIntegerField(_('action flag'))
    2222   change_message = models.TextField(_('change message'), blank=True)
Back to Top