Skip to content

Commit

Permalink
Merge pull request #24 from nnsnodnb/fix/typo
Browse files Browse the repository at this point in the history
Fix select_related
  • Loading branch information
nnsnodnb authored Aug 24, 2021
2 parents 8573518 + 69937ff commit ccdc500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storekit/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ResponseAdmin(admin.ModelAdmin):
list_display_links = ("status", "environment", "receipt")

def get_queryset(self, request):
return super().get_queryset(request).select_realated("receipt")
return super().get_queryset(request).select_related("receipt")


admin.site.register(Response, ResponseAdmin)

0 comments on commit ccdc500

Please sign in to comment.