Ticket #5246: mssql_django_admin.patch
File mssql_django_admin.patch, 766 bytes (added by , 17 years ago) |
---|
-
contrib/admin/models.py
17 17 action_time = models.DateTimeField(_('action time'), auto_now=True) 18 18 user = models.ForeignKey(User) 19 19 content_type = models.ForeignKey(ContentType, blank=True, null=True) 20 object_id = models. TextField(_('object id'), blank=True, null=True)20 object_id = models.CharField(_('object id'), blank=True, null=True, max_length=255) 21 21 object_repr = models.CharField(_('object repr'), max_length=200) 22 22 action_flag = models.PositiveSmallIntegerField(_('action flag')) 23 23 change_message = models.TextField(_('change message'), blank=True)