mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed test failure caused by different NULL ordering between backends
This commit is contained in:
@@ -262,9 +262,13 @@ class ReservedName(models.Model):
|
||||
return self.name
|
||||
|
||||
# A simpler shared-foreign-key setup that can expose some problems.
|
||||
@python_2_unicode_compatible
|
||||
class SharedConnection(models.Model):
|
||||
data = models.CharField(max_length=10)
|
||||
|
||||
def __str__(self):
|
||||
return self.data
|
||||
|
||||
class PointerA(models.Model):
|
||||
connection = models.ForeignKey(SharedConnection)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user