Changes between Initial Version and Version 2 of Ticket #26393
- Timestamp:
- Mar 23, 2016, 11:53:38 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26393
- Property Cc added
- Property Resolution → wontfix
- Property Status new → closed
- Property Summary Unable to filter annotations across relationships. → Unable to filter against annotations in Manager with use_for_related_fields
-
Ticket #26393 – Description
initial v2 19 19 20 20 class Person(models.Model): 21 first_name = SubCharField(max_length=100)22 last_name = SubSubCharField(max_length=100)21 first_name = models.CharField(max_length=100) 22 last_name = models.CharField(max_length=100) 23 23 24 objects = UserManager()24 objects = PersonManager() 25 25 26 26 27 27 class Article(models.Model): 28 28 published = models.DateTimeField() 29 author = models.ForeignKey( User, null=True, on_delete=models.CASCADE)29 author = models.ForeignKey(Person, null=True, on_delete=models.CASCADE) 30 30 31 31 }}}