Ticket #2809: models_update.diff

File models_update.diff, 781 bytes (added by Rockallite, 18 years ago)

[patch] This is the correct patch! Sorry I don't have SVN so I had to hand-make the patch...

  • 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.TextField(_('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