Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c001d7f

Browse files
committed
Fix bad rebase.
1 parent e26868b commit c001d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self, *args, **kwargs):
5151
source='get_featured', model=models.Entry, read_only=True)
5252

5353
def get_suggested(self, obj):
54-
return models.Entry.objects.exclude(pk=obj.pk).first()
54+
return models.Entry.objects.exclude(pk=obj.pk)
5555

5656
def get_featured(self, obj):
5757
return models.Entry.objects.exclude(pk=obj.pk).first()

0 commit comments

Comments
 (0)