1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #24328 -- cleaned up Options._get_fields() implementation

This commit is contained in:
Anssi Kääriäinen
2015-02-16 09:49:19 +02:00
committed by Tim Graham
parent bed504d70b
commit bad5f262bf
5 changed files with 106 additions and 105 deletions

View File

@@ -158,7 +158,7 @@ class ProxyTrackerUser(TrackerUser):
@python_2_unicode_compatible
class Issue(models.Model):
summary = models.CharField(max_length=255)
assignee = models.ForeignKey(TrackerUser)
assignee = models.ForeignKey(ProxyTrackerUser)
def __str__(self):
return ':'.join((self.__class__.__name__, self.summary,))