We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f864156 commit 1f8e564Copy full SHA for 1f8e564
bullet/gallery/views/album.py
@@ -41,8 +41,4 @@ class AlbumListView(GalleryCompetitionMixin, ListView):
41
template_name = "gallery/list.html"
42
43
def get_queryset(self):
44
- qs = Album.objects.filter(competition=self.competition)
45
- country = self.request.COUNTRY_CODE.upper()
46
- local = qs.filter(country=country)
47
- other = qs.exclude(country=country)
48
- return local.union(other)
+ return Album.objects.filter(competition=self.competition)
0 commit comments