mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed hanging indentation in various code.
This commit is contained in:
@@ -38,8 +38,7 @@ class ReverseLookupTests(TestCase):
|
||||
p1 = Poll.objects.get(poll_choice__name__exact="This is the answer.")
|
||||
self.assertEqual(p1.question, "What's the first question?")
|
||||
|
||||
p2 = Poll.objects.get(
|
||||
related_choice__name__exact="This is the answer.")
|
||||
p2 = Poll.objects.get(related_choice__name__exact='This is the answer.')
|
||||
self.assertEqual(p2.question, "What's the second question?")
|
||||
|
||||
def test_reverse_field_name_disallowed(self):
|
||||
|
||||
Reference in New Issue
Block a user