mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
[1.8.x] Fixed #24328 -- cleaned up Options._get_fields() implementation
Backport of bad5f262bf from master
This commit is contained in:
committed by
Tim Graham
parent
3a6c37fce4
commit
6f03a4ca91
@@ -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,))
|
||||
|
||||
Reference in New Issue
Block a user